7z file encryption with password


Previously I've transferred file with a pgp key, but this is an ok alternative.

7za a -tzip -psuperSecurePassword -mem=AES256 filename.zip file.doc
file1.doc file2.doc  

You can also checkout the easier and more supported zip method.