Enable compression, set TS window to 1, remove dirs from log
This commit is contained in:
parent
5599968d4b
commit
4628db3109
@ -59,7 +59,7 @@ do
|
|||||||
echo "${i^^}" >> /tmp/rsync_log_$date_styled
|
echo "${i^^}" >> /tmp/rsync_log_$date_styled
|
||||||
echo "======================================================" >> /tmp/rsync_log_$date_styled
|
echo "======================================================" >> /tmp/rsync_log_$date_styled
|
||||||
|
|
||||||
rsync -av --delete --rsh="ssh -p $SSH_PORT -i $SSH_KEY" $i $SSH_USER@$SSH_HOST:$DST_DIR >> /tmp/rsync_log_$date_styled
|
rsync -av --modify-window=1 --delete --compress --rsh="ssh -p $SSH_PORT -i $SSH_KEY" $i $SSH_USER@$SSH_HOST:$DST_DIR | grep -E '^deleting|[^/]$' >> /tmp/rsync_log_$date_styled
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user