title: Using a regex in GNU tar
body: <p>Can we archive only files that match a regex. For example</p>
  
  <p>I have three files</p>
  
  <pre><code>./a/b/c/d/file
  ./a/b/c/d32/file
  ./a/b/c/d64/file
  </code></pre>
  
  <p>I just need to archive these two</p>
  
  <pre><code>./a/b/c/d/file
  ./a/b/c/d32/file
  </code></pre>
  
  <p>Something like <code>tar -chvzf test.tar.gz a/b/c/d[32]*/file</code> doesn't seem to work. Is there a way i can do it using the GNU version of the tar?</p>