how to protect a file with apssword terminal mac code example Example: create zip file password mac zip -er NAMEOFZIPFILE.zip sourcepathfolder