Recursive delete
by gregs on Mar.22, 2010, under *nix, debian, os x
I new it was possible, just never took the time to look it up.
CODE:
-
rm -rf `find . -type d -name .svn`
As with all types of deletes, recursive or not, use with caution.
July 8th, 2010 on 9:32 am
Why don’t just use
find . -type d -name .svn -exec rm -rf {} \;
?
July 8th, 2010 on 10:14 am
Thanks Evgeny, always many ways to solve a problem. Anything about your method that is better?