title: How to rename files in zip archive without extracting and recompressing them?
body: <p>I need to rename all the files on a zip file from <code>AAAAA-filename.txt</code> to <code>BBBBB-filename.txt</code>, and I want to know if I can automate this task without having to extract all files, rename and then zip again. Unzipping one at a time, renaming and zipping again is acceptable.</p>
  
  <p>What I have now is:</p>
  
  <pre><code>for file in *.zip
  do
      unzip $file
      rename_txt_files.sh
      zip *.txt $file
  done;
  </code></pre>
  
  <p>But I don't know if there is a fancier version of this where I don't have to use all that extra disk space.</p>