rm -rf `find . -type d -name .svn`
Make sure that you use "`" and not "'", you can also try removing all java files in a
folder using this one:
rm -rf `find . -type f -name *.java`
Simple and painles ;)
Showing posts with label file handling. Show all posts
Showing posts with label file handling. Show all posts
Saturday, May 30, 2009
Removing files in Linux
The best thing about Linux is the console, one of the many useful uses is the way you can handle (find, move, create, delete) files, a quick example of this is removing all hidden .svn directories: