zip and encrypt files or folders from command line on mac

zip command with -e flag (encrypt). zip -e [target or destination.zip] [file or folder source to zip up] you could specify a -r or recursively zip all files in the source folder zip -er target.zip...

Read More