Pages

Monday, December 31, 2012

How to remove svn folders from server

How to simply remove svn files from server



Make sure that you have the access rights to delete files.

Use the following command:
find ./ -name ".svn" | xargs rm -Rf
where first part find  finds all .svn folders in your current directory ./
Do not confuse ./ and / since the simple forward slash deletes all svn files in your filesystem.
 
second part deletes each match
-R  deletes recursively the content
-f  ignore non existent files

No comments:

Post a Comment