To create a password-protected ZIP file on macOS, open iTerm and use the command
zip -er filename.zip ./path/to/folder.
Replace filename.zip with your preferred name and ./path/to/folder with the path to the folder you want to compress, then enter a password when prompted.
No comments:
Post a Comment