Shell script to AES encrypt/decrypt files from command line
Needs openssl (usually already installed on Mac/Linux). Tested with cygwin on Windows.
cp pcrypt /usr/bin (or some place on your $PATH)
chmod a+x pcrypt
Encrypt:
pcrypt <filename_orig> <filename_new>
Decrypt:
pcrypt <filename>