dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 4699b1af05e4e225fcd06fa95cd0dece01b56e98
parent 8f9eceae1e1b76fd23985b0c55a1b0d1ad49316e
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 18 Sep 2019 13:11:55 +0200

Add --update option to rsync calls

Diffstat:
M.local/bin/syncdir | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.local/bin/syncdir b/.local/bin/syncdir @@ -29,10 +29,10 @@ die() { sync_dir() { echo "syncing $1 to $host" - rsync -rav --progress -e "ssh" "$1/" "$host":"$1/" + rsync --update -rav --progress -e "ssh" "$1/" "$host":"$1/" echo "syncing $host to $1" - rsync -rav --progress -e "ssh" "$host":"$1/" "$1/" + rsync --update -rav --progress -e "ssh" "$host":"$1/" "$1/" } while :; do