title: ubuntu extract multiple .tar.gz files to new directory
body: <p>I have about 200,000 thumbs in a folder that are all gzipped ending with .tar.gz
  What I am looking to do is extract all the files in that folder but to a different folder. Does anyone know a command to do this? I found this online but I wouldnt know how to use it to extract to a different folder.</p>
  
  <pre><code>for i in *.tar.gz; do tar -xvzf $i; done
  </code></pre>