encore une erreur ignorer sur les homes.
je vais finir par ne plus reporter d'erreur du tout -- Sayan darcs-hash:20040425104454-d1356-eeec7ff605829cad4cb12ae61451f02802e32fde.gz
This commit is contained in:
parent
7b50728bc1
commit
485795c9bf
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ mount /var/spool/mail -o remount,atime
|
||||||
temp=$(mktemp)
|
temp=$(mktemp)
|
||||||
temp_mail=$(mktemp)
|
temp_mail=$(mktemp)
|
||||||
rsync -atzSHe ssh --delete $homes backupcrans@pegase:~/backup-$week_mod2 &> $temp
|
rsync -atzSHe ssh --delete $homes backupcrans@pegase:~/backup-$week_mod2 &> $temp
|
||||||
cat $temp | grep -viEe "^((recv_generator)|(opendir)|(stat)).*Permission denied$" | grep -vie "^skipping non-regular file" | grep -vie "^rsync error: some files could not be transferred" > $temp_mail
|
cat $temp | grep -viEe "^((recv_generator)|(opendir)|(stat)).*Permission denied$" | grep -vie "^skipping non-regular file" | grep -vie "^rsync error: some files could not be transferred" | grep -vie "^file has vanished" > $temp_mail
|
||||||
if [ -s $temp_mail ]
|
if [ -s $temp_mail ]
|
||||||
then
|
then
|
||||||
cat $temp_mail | mail -s "rsync error" roots
|
cat $temp_mail | mail -s "rsync error" roots
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue