title: find command to find files and concatenate them
body: <p>I am trying to find all the files of type <code>*.gz</code> and <code>cat</code> them to <code>total.gz</code> and I think I am quite close on this.</p>
  <p>This is the command I am using to list all <code>*.gz</code>files:</p>
  <pre><code>find /home/downloaded/. -maxdepth 3 -type d \( ! -name . \) \
      -exec bash -c &quot;ls -ltr '{}' &quot;  \
  </code></pre>
  <p>How to modify it so that it will concatenate all of them and write to <code>~/total.gz</code></p>
  <p>Directory structure under <code>downloaded</code> is as follows</p>
  <pre><code>/downloaded/wllogs/303/07252014/SysteOut.gz
  /downloaded/wllogs/301/07252014/SystemOut_13.gz
  /downloaded/wllogs/302/07252014/SystemOut_14.gz
  </code></pre>