I have a script that is copying a folder that contains a couple sub folders. The original that it is copying from is part of an SVN folder, so it is copying those ".svn" folders as well.
I want to remove those from the new destination, my best guess was:
rm -Rf dir/*.svn
Which doesn't work, is there a way to do this or do I need to manually go into each folder to delete it?