scribeer.blogg.se

Mac compress folder terminal
Mac compress folder terminal






mac compress folder terminal

In few moments, you’ll find that command is completed and password protected zip file is now ready. Then you’ll be asked to enter the password you want to set. In this example, I typed zip -er SecretFolder.zip SecretFolder command to make zip file of SecretFolder and name the final zip archive as SecretFolder.zip.Ħ. You can type ls command to confirm existence of the confidential folder.ĥ. For this example, I would using cd ~/Downloads command for that.Ĥ. In Terminal window, navigate to the parent folder location for the folder we created in step 1. Now open Terminal using Spotlight Search.ģ. In this example, I am placing this folder in Downloads.Ģ. Place this folder it at a convenient location. Name that folder without having spaces so you can easily manage it with Terminal. Using Finder, create a new folder and put your confidential files in that folder. Password Protect Zip Files In Mac Using Terminalįollow these steps to create password protected zip file:ġ.

mac compress folder terminal

The resultant zip file can only be opened with correct password, no matter if it is on Mac, Windows or any other device. In this article, we’ll see how to password protected zip files in Mac using Terminal app. You do not need any third-party software for this purpose in Mac OS.

mac compress folder terminal

However, if you are using Mac OS, then you can create password protected zip natively using the Terminal. Plus we want to let this data accessible only by the authorized person.īut when it comes to password protect zip files, usually you have to rely on third-party software.

mac compress folder terminal

We do not want anyone else to access the data in these confidential files. Many times there comes a situation when we have to create a zip archive with confidential files. If you want to compress the zip files and password protect them without using third-party utility in Mac, then this article is for you.








Mac compress folder terminal