Here is a quick way to delete all .svn files from a particular directory and all its child directories:
Open your terminal, navigate to the directory from where you want to delete .svn files;
It's good to show all hidden files first.
Type the following command:
[code]
rm -rf `find . -type d -name .svn
[/code]
Thats it.
Update 28.May.2k13
You can also use the following command for the same purpose:
[code]
find ./ -name ".svn" | xargs rm -Rf
[/code]
Update 21.July.2k11
This command will not entertain those directories which has space in their name.
Can anyone solve this issue?
Categories & Tags
Comments
No comments yet — be the first to share your thoughts.
Leave a Reply