Menu

Creating a encrypt Zip file from command line

Help
2005-04-07
2012-12-07
  • Nobody/Anonymous

    Is it possible creating a Creating a encrypt Zip file (no 7z file) from command line?

    I don't see that option in switches page help.

    Thanks in advance.
    IAB

     
    • Nobody/Anonymous

      Yes, you can use this command : 7z a -tzip archive file

       
    • Nobody/Anonymous

      7z a -tzip -p<password> archive.zip <filelist>

       
    • Nobody/Anonymous

      Create:
      7z a -tzip -p<password> archive.zip <filelist>

      Extract:
      7z x -p<password> archive.zip
      or:
      7z x archive.zip (and it will ask for password)

      Notes;
      -Listing does not require a password, Testing does.
      -It is compatible with PKZip and can be extracted with 
      pkunzip -s<password> archive.zip

       

Log in to post a comment.