I have a script that copies a folder containing a couple of additional folders. The original that it copies is part of the SVN folder, so it also copies the ".svn" folders.
I want to remove them from a new destination, I would prefer:
rm -Rf dir/*.svn
What doesn't work, is there a way to do this, or do I need to manually go to each folder to delete it?
source share