zip a file command in macos without password in macos 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