Hey there, is it possible to somehow use a wildcard for cm purge instead of a file extension (e.g. _BuiltData.uasset)?
In Unreal Engine every asset is *.uasset, so file extension filter does not help much here ![]()
Hey there, is it possible to somehow use a wildcard for cm purge instead of a file extension (e.g. _BuiltData.uasset)?
In Unreal Engine every asset is *.uasset, so file extension filter does not help much here ![]()
Hi Kristof,
So, would you like to specify a particular file to be purged?
Iâm afraid the command doesnât support that.
What is the use case here? Maybe we have an alternative way of doing it.
Best,
Héber.
Hey there, no, not a particular file, but every file that matches a wildcard. For example, file names ending with _BuiltData.uasset, since they can always be recompiled (and are very big and occupy our storage), so we donât need more than the last revision.
Supporting wildcards or more advanded filter rules would be a great improvement. Could you open the feature request here?
https://portal.productboard.com/m8i3g2dqrmywvbqnkdmzeauv/c/819-didn-t-find-what-you-were-looking-for
How about just the simple case of deleting a whole folder of files which shouldnât have been committed? Why is this not considered a common use case?
Hi,
For that scenario, I would recommend using the âcm archiveâ command.
This article has more information on both options.
Best,
Héber.