Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is it possible to remove a known password from a ZIP archive without extracting the actual archive?

I have some heavily compressed archives and want to avoid having to extract and rezip each of those archives. The decompressing and recompressing would take a lot of time and I simply need the passwords removed (which I know) before I pass them on.

Cheers

share|improve this question
2  
Since passwords are used to encrypted the contents of the files stored in a Zip file, it seems unlikely that what you want to do could be done without first extracting and decrypting the files. It's possible the Zip utility you're using might provide a convenience command that does all of these step necessary for you, although I don't know of any that do. – martineau Feb 12 '13 at 16:40
    
Check the Zip format (start at en.wikipedia.org/wiki/Zip), if it is as @martineau says, you'd have to unpack and repack. – vonbrand Feb 13 '13 at 3:28

It is not possible since the files are encrypted http://blog.superuser.com/2011/04/02/compression-and-encryption-the-zip-years/ The files have to be decrypted

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .