search for: ns200176

Displaying 1 result from an estimated 1 matches for "ns200176".

Did you mean: msg00176
2009 Jun 12
1
--compare-dest= dir list ?
..., I would like to compare a backup dir with a directory list in --compare-dest= but I don't know how to specify this list. If a have only one dir it's ok, but if I have 2 or more dir I have an error ? Here is my script: #!/bin/bash SSH_USER= SSH_HOST= TOBCK=/ EXCLUDES=/root/bckscript/ns200176/excludes LOG=/root/bckscript/ns200176/rsync_$(date +'%Y-%m-%d_%H.%M.S').log mount /dev/sda1 /mnt/bckhd01 BACKUPDIR=/mnt/bckhd01/ns200176/$(date +'%A') COMPAREDIR="" LIST=$(ls /mnt/bckhd01/ns200176/) for i in $LIST; do COMPAREDIR="$COMPAREDIR/mnt/bckhd01/ns20...