title: Copy first six characters of filenames and amend it as the top line of the same .txt files
body: <p>I have a dir/folder of .txt files and I'd like to grab the first six characters of each .txt file filename and paste it into the beginning of each, same .txt file (followed by a TAB).</p>
  
  <p>Filename example:</p>
  
  <ul>
  <li>123456 Something Awesome.txt</li>
  <li>234567 Another Awesome Thing.txt</li>
  </ul>
  
  <p>So "123456 Something Awesome.txt" would begin with "123456[TAB]" and so on.</p>
  
  <p>I'm doing this as part of a batch (.bat) on a Mac.</p>
  
  <p>(I'll be importing the .txt files into Excel so the first 6 chars/numbers of the filename would essentially become the first data cell for each file/line of data - which is also why I need the TAB, so that the rest of the file will fill the following cells.)</p>
  
  <p>Thanks!</p>