title: Find files in some directories with particular name pattern and tar them?
body: <p>There are many subdirectories in a directory. For example,</p>
  <pre><code>/tmp/dir/00/
  /tmp/dir/01/
  ....
  /tmp/dir/99/
  </code></pre>
  <p>How to <code>tar</code> all the subdirectories which name is less than <code>50</code>?</p>
  <pre><code>find /tmp/dir/ -name &quot;???&quot; -exec tar -rzf file1.tgz {} \;
  tar -czf file1.tgz ???
  </code></pre>