title: Script to recursively delete CVS directory on server
body: <p>So far I've come up with this:</p>
  
  <pre><code>find . -name 'CVS' -type d -exec rm -rf {} \;
  </code></pre>
  
  <p>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. </p>
  
  <p>Also, how can I make it a script in which I can specify a directory to clean up?</p>