#!/bin/sh DEST=$1 RSYNC="/usr/bin/rsync -rltvz" if [ "$DEST" = "" ]; then echo You must supply a destination directory exit fi if [ ! -e $DEST ]; then echo Destination does not exist: $DEST exit fi echo Mirroring to $DEST