​​ ​

The Apple Support Community will permanently close on November 20, 2026. Starting today, the site will no longer accept new posts and is available in a read-only state.


You can continue to find trusted guidance and support on the official Apple Support site. 


We want to thank the community members who have contributed their time and expertise to help others with their Apple products.


how to Password protect zip files?

how to Password protect zip files?


MacBook Pro 13″, macOS 12.6

Posted on Feb 21, 2023 7:32 AM

2 replies

Feb 21, 2023 8:53 AM in response to smoothlyt

Use the Zip program in Terminal:

man zip


-e
       --encrypt
              Encrypt the contents of the zip archive using a password which
              is entered on the terminal in response to a prompt (this will
              not be echoed; if standard error is not a tty, zip will exit
              with an error).  The password prompt is repeated to save the
              user from typing errors.


This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

how to Password protect zip files?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.