title: Remove all files except some from a directory
body: <p>When using <code>sudo rm -r</code>, how can I delete all files, with the exception of the following:</p>
  
  <pre><code>textfile.txt
  backup.tar.gz
  script.php
  database.sql
  info.txt
  </code></pre>