+if [ ! -d "$1" -o ! -d "$2" ]; then
+ echo >&2 "Usage: $0 <source-dir> <target-dir> [<mnt-dir>]"
+ echo >&2 " source-dir - directory on backup disks to restore from"
+ echo >&2 " target-dir - directory to restore files to"
+ echo >&2 " mnt-dir - directory where backup disk is mounted (optional)"
+ echo >&2 "Example: $0 / / /mnt/cdrom"
+ exit 1
+fi