projects
/
backups
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200a6dd
)
Added -I option to rsync to ignore timestamps and size when copying over a remote...
author
Alan Jack Pippin
<ajp@pippin.(none)>
Wed, 14 Jun 2006 22:10:03 +0000
(16:10 -0600)
committer
Alan J. Pippin
<ajp@pippins.net>
Wed, 14 Jun 2006 22:10:03 +0000
(16:10 -0600)
scripts/burn-imgs.sh
patch
|
blob
|
history
diff --git
a/scripts/burn-imgs.sh
b/scripts/burn-imgs.sh
index a24df15591ce9656cc2321dddefd8d1cc2f71475..69d192fd4c3ba92eb3d5adbcf1cb3b66d456084b 100755
(executable)
--- 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 -a
I
v --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