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