macos set zip password code example
Example 1: create zip file password mac
zip -er NAMEOFZIPFILE.zip sourcepathfolder
Example 2: mac zip with password
zip -er newName.zip existingFolder
zip -er NAMEOFZIPFILE.zip sourcepathfolder
zip -er newName.zip existingFolder