4 echo >&2 "Usage: $0 <target-directory>"
5 echo >&2 "Example: $0 /"
9 tmpdir=/tmp/restore-$(date +%Y%m%d%H%M%S)
11 export PATH=$tmpdir:/bin:/usr/bin
13 # Get the device with the CD in it here
16 for date in $(cat $dbfile | list-dates.sh); do
18 echo >&2 "Please insert backup disk: $date"
19 echo >&2 "Then press any key"
22 # rsync-cmd.sh won't work here in its current encarnation
23 cat $dbfile | files-from-date.sh | rsync-cmd.sh $1