title: Script to append files with same part of the name
body: <p>I have a bunch of files (> 1000), which content has columns of numbers separates by space. I would like to reduce the number of files by appending the content of groups of them in one file.</p>
  
  <p>All the files start with <code>"*time_NUMBER*"</code> followed by a number, and the rest of the filename <code>(*pow_....txt*)</code>. For example : <code>*time_0.6pow_0.1-173.txt*</code></p>
  
  <p>I would like to append the files with the same <em>NUMBER</em> in a single file and make it with a script since I got ~70 different NUMBERs.</p>
  
  <p>I have found </p>
  
  <pre><code>cat time_0.6pow_*.txt &gt; time_0.6.txt
  </code></pre>
  
  <p>it works but would like to make a script for all the possible NUMBERs.</p>
  
  <p>Regards</p>