one-liner for removing 'CVS' or '.svn' directories
5
Recursively removes files or directories with a given name, using find.
I most frequently use it to remove 'CVS' or '.svn' directories from sourcepackages that still have the versioning information in them.
I most frequently use it to remove 'CVS' or '.svn' directories from sourcepackages that still have the versioning information in them.
find ./ -name 'CVS' -execdir rm -rf '{}' \; -print






Bobby R Ward
---------------------
bobbyrward@gmail.com
find ./ -name '.svn' -type d -exec rm {} \;