title: linux split file with incremental characters before extension
body: <p>I want to split a large collection if text files. This is the script that i currently use</p>
  
  <pre><code>for file in *.txt
  do
      split -b 120k "$file" "$file"_
  done
  </code></pre>
  
  <p>When the input file is </p>
  
  <p>hello_world.txt</p>
  
  <p>the splitted files would be</p>
  
  <pre><code>hello_world.txt_AA
  hello_world.txt_AB
  hello_world.txt_AC
  </code></pre>
  
  <p>i want it to be like </p>
  
  <pre><code>hello_world_AA
  hello_world_AB
  hello_world_AC
  </code></pre>
  
  <p>How do i do it in linux ?</p>