title: Exclude list of files from find
body: <p>If I have a list of filenames in a text file that I want to exclude when I run <code>find</code>, how can I do that? For example, I want to do something like:</p>
  
  <pre><code>find /dir -name "*.gz" -exclude_from skip_files
  </code></pre>
  
  <p>and get all the .gz files in /dir except for the files listed in skip_files. But find has no <code>-exclude_from</code> flag. How can I skip all the files in <code>skip_files</code>?</p>