clipslop.blogg.se

Password protect file on mac through terminal
Password protect file on mac through terminal










  1. #Password protect file on mac through terminal how to
  2. #Password protect file on mac through terminal zip file

Instead of typing the command “ zip -e” type “ zip -er” So you want to compress and password protect a whole FOLDER (directory) of files?

#Password protect file on mac through terminal zip file

The zip file "TheNameYouWantForYourNewZip.zip" was created on your desktop with the password protection you assigned to it. NOTE: TERMINAL DOES NOT DISPLAY THE TYPING OF PASSWORDSĪdding: Users/macgenius/Desktop/YourFile.txt (deflated 3%) Genius-iMac:~ macgenius $ zip -e ~/Desktop/TheNameYouWantForYourNewZip.zip ~/Desktop/YourFile.txt NOTE: THERE MUST BE A SPACE BETWEEN EACH NEW COMMAND AND THERE MUST BE NO SPACES IN YOUR FILE NAMES. TO COMPRESS & PASSWORD PROTECT ONE FILE ON YOUR DESKTOP…

#Password protect file on mac through terminal how to

Later I’ll show you how to access you file/s without having to move them on to your desktop first.

password protect file on mac through terminal

To avoid any mistyping issues I suggest that you move your file or folder of files you want compressed and password protected to your desktop. You need to decide if you are compressing a file or a folder of files? Last login: Sun Oct 07 21:39:26 on console When opened it should look something like this and it’s ready to accept your keyboard input You need to open your “ Terminal” application found in… We are creating a new compressed (zipped) file with password protection. Objective: We are not assigning password protection to an already compressed (zipped) file. I’m currently running macOS High Sierra Version 10.13.6 You can do it on your mac without need for 3rd party Apps or Software.

password protect file on mac through terminal

Password protect a compressed (zipped) file on a Mac












Password protect file on mac through terminal