Recursively deleting files matching wildcards

I find this useful for “un-versioning” a Subversioned directory structure. Works via Cygwin, not sure if there’s a pure Windows equivalent:

$ rm -rvf `find . -name '.svn*'`

Credit goes to one of the replies on this forum.

Leave a comment

Your email address will not be published. Required fields are marked *