title: Is there a quick way to delete a file from a Jar / war without having to extract the jar and recreate it?
body: <p>So I need to remove a file from a jar / war file.
  I was hoping there was something like "jar -d myjar.jar  file_I_donot_need.txt"</p>
  
  <p>But right now the only way I can see of doing this from my Linux command line (without using WinRAR/Winzip or linux equivalent) is to</p>
  
  <ul>
  <li>Do "jar -xvf" and extract the<br>
  complete Jar file</li>
  <li>Remove the file(s) I don't need</li>
  <li>Rejar the jar file using "jar -cvf"</li>
  </ul>
  
  <p>Please tell me there is a shorter way? </p>