Added -I option to rsync to ignore timestamps and size when copying over a remote...
authorAlan Jack Pippin <ajp@pippin.(none)>
Wed, 14 Jun 2006 22:10:03 +0000 (16:10 -0600)
committerAlan J. Pippin <ajp@pippins.net>
Wed, 14 Jun 2006 22:10:03 +0000 (16:10 -0600)
scripts/burn-imgs.sh

index a24df15591ce9656cc2321dddefd8d1cc2f71475..69d192fd4c3ba92eb3d5adbcf1cb3b66d456084b 100755 (executable)
@@ -30,7 +30,7 @@ if [[ $cacheburnimg == 1 && -d $cacheburnimgdir ]]; then
   rsync -av --exclude '*.mnt' $img* $cacheburnimgdir >> $logfile 2>&1
   if [ $? != 0 ]; then
     sleep 60
-    rsync -av --exclude '*.mnt' $img* $cacheburnimgdir >> $logfile 2>&1
+    rsync -aIv --exclude '*.mnt' $img* $cacheburnimgdir >> $logfile 2>&1
     if [ $? != 0 ]; then
       cat $logfile | mailx -s "backups: failed to cache $img to local dir $cacheburnimgdir !!!" $mailto
       exit 1