title: Gzip multiple files individually and keep the original files
body: <p>I am looking to gzip multiple files (into multiple .gz files) in a directory while keeping the originals.</p>
  
  <p>I can do individual files using these commands:</p>
  
  <pre><code>find . -type f -name "*cache.html" -exec gzip {} \;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>gzip *cache.html
  </code></pre>
  
  <p>but neither preserves the original.  I tried</p>
  
  <pre><code> find . -type f -name "*cache.html" -exec gzip -c {} &gt; {}.gz
  </code></pre>
  
  <p>but that only made a {}.gz file.  Is there a simple way to do this?</p>