In SVN is there a command I can use to delete all locally missing files in a directory?
Or failing that, some way of listing only those files that are missing (or, in the more general case, have status A, D, ?, etc.)
file-iosvn
In SVN is there a command I can use to delete all locally missing files in a directory?
Or failing that, some way of listing only those files that are missing (or, in the more general case, have status A, D, ?, etc.)
Best Answer
If you're using Mac (Darwin) or Linux you can pipe the outputs of the following commands to
svn rm
for all missing files. You can set the current working directory to the appropriate directory or subdirectory before running these - dependent on whether you want to run this your entire working copy, or only a subset.svn rm
using the output of #3 as argumentsSo the full command is:
References: