问题
My fonts were delivered to the branch with the command
clearfsimport -rec -nset <Source> <target>
My problem is: supose in my next deliver I delete 10 files in different folders, I saw that there are many fonts in my first version and now I have fonts from my version1 that were deleted.
I need to know how to solve this problem.
回答1:
Looking at clearfsimport, you should consider the -rmname
option:
For all source-name arguments that are directories, performs an
rmname
operation on elements that are already in the VOB but are not present in the source directory.
If used in combination with-recurse
, performs thisrmname
operation in all directories traversed.
That way, your next import will remove the 10 files you have deleted in your folders (that you are importing)
(I usually combine that option with the options -preview and -nset)
来源:https://stackoverflow.com/questions/36478572/how-to-avoid-extra-files-when-using-clearfsimport