20
So far I've come up with this:
find . -name 'CVS' -type d -exec rm -rf {} \;
It's worked locally thus far, can anyone see any potential issues? I want this to basically recursively delete 'CVS' directories accidently uploaded on to a server.
Also, how can I make it a script in which I can specify a directory to clean up?