$ zip -er sample.zip /Users/Desktop/ testĪdding: Users/Desktop/test/.DS_Store (deflated 96%)Īdding: Users/Desktop/test/test. You won’t be see the actual password for security reason (you can ignore CRC related warning) How to set up password while compressing the ZIPfile $ zip -er įor example, instruction for compressiing test folder in Downloads into sample.zip will be the following. After downloading the software, you may install it just like any other app on mac. Zipcloak warning: Local Entry CRC does not match CD: _MACOSX/._test.png Zipcloak warning: Local Entry CRC does not match CD: test.png Note: You cna drag & drop if the file path is too long for you to type (see the below image) Drag and drop the file path from finderįor example, here’s test.zip file that I want to set up password (test.zip file has test.png files) and you can set up the password by putting the following instruction. You can set up a password to your ZIP file by putting the following instruction in your terminal. Now type in the command that will simultaneously compress and password protect the files in the form of zip -er FILENAME.zip FILESorFOLDERStoCOMPRESS. Type in ls to make sure you see your folder. For example, in my instance, I would type cd /Volumes/dataMAC and hit enter. How to set up password on ZIP file ( ZIPCLOACK ) Change your directory to the location of your folder. You don’t need to buy special app for zip file. I found which you can set up a password to your zip file via terminal. But I didn’t want to (^^ )download app just for setting up the passowrd. I just changed to Mac from PC and had to lock zip file with password.
0 Comments
Leave a Reply. |