SVN delete all files under MacOS file system

 

Case not a last resort, do not use the oh

cd to the folder, give me a command, you can delete a directory of all .svn files, including subdirectories, very powerful classic


Command is as follows:
  
 the Find The -type d -name "the .svn" | xargs RM -rf.

Describes the parameters:
the Find is not to say that you know
is included in the directory, generally refers to the current.
The -type English will know abc's basically understand
d This mark means dir directory
signs -name of key parameters indicated
. " svn "is to find .svn directory, where you can learn by analogy, next time you need to delete another directory, into a directory you want to delete to
xargs this configuration parameter chant 
rm -rf understand that this is basically linux all know, this is delete command


So what this command organization, very strong!
In general, caution Oh!
Case not a last resort, do not use Oh! Because the svn function under mac system is not very strong!
----------------

Published 49 original articles · won praise 7 · views 30000 +

Guess you like

Origin blog.csdn.net/qq_29680975/article/details/103279540