#! /bin/bash # script simply reads the output file created by imapsync.sh and gives # some useful information MYPATH=`dirname $0` source $MYPATH/imapsync.include echo Messages Transfered grep -i 'messages transferred' $OUTPUT echo Login grep -i 'Success login on' $OUTPUT