title: Make Tar + gzip ignore directory paths
body: <p>Is it possible, when making a tar + gzip through the 'tar c ...' command, to have the relative paths will be ignored upon expanding?</p>
  
  <p>For example,</p>
  
  <pre><code>tar cvf test.tgz foo ../../files/bar
  </code></pre>
  
  <p>And then expanding the test.tgz with</p>
  
  <pre><code>tar xvf test.tgz
  </code></pre>
  
  <p>gives a directory containing:</p>
  
  <pre><code>foo files/bar
  </code></pre>
  
  <p>I want the directory to contain the files:</p>
  
  <pre><code>foo bar
  </code></pre>
  
  <p>Is this possible?</p>