From c4767775f2f8882bdc28ecc6fc0e9d0c553577dd Mon Sep 17 00:00:00 2001 From: Alan Jack Pippin Date: Wed, 14 Jun 2006 16:10:03 -0600 Subject: [PATCH] Added -I option to rsync to ignore timestamps and size when copying over a remote image. --- scripts/burn-imgs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/burn-imgs.sh b/scripts/burn-imgs.sh index a24df15..69d192f 100755 --- a/scripts/burn-imgs.sh +++ b/scripts/burn-imgs.sh @@ -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 -- 2.34.1