1 2 3 4 5 6 7 8
#!/bin/bash if [ ! "$2" ] ; then echo $0: usage $0 infile outfile exit 1 fi openssl enc -aes-256-cbc -in "$1" -out "$2"