handle sparse files correctly
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
This commit is contained in:
parent
9e0dcf4729
commit
899979d3ba
2 changed files with 2 additions and 2 deletions
|
@ -30,6 +30,6 @@ sshconfig=$sshdir/config
|
|||
|
||||
d1=$(date)
|
||||
set -x
|
||||
rsync -av -e "ssh -i $sshkey -F $sshconfig" --delete "$src" "$dst"
|
||||
rsync -avS -e "ssh -i $sshkey -F $sshconfig" --delete "$src" "$dst"
|
||||
echo $d1
|
||||
date
|
||||
|
|
2
sync-to
2
sync-to
|
@ -21,7 +21,7 @@ case "$dsthost" in
|
|||
esac
|
||||
|
||||
start=$(date)
|
||||
rsync -av --delete --progress \
|
||||
rsync -avS --delete --progress \
|
||||
--exclude '/proc/*' \
|
||||
--exclude '/tmp/*' \
|
||||
--exclude '/sys/*' \
|
||||
|
|
Loading…
Add table
Reference in a new issue