From 1daa031823be7f66ff5d6aaa7dea8f960f32f6ac Mon Sep 17 00:00:00 2001 From: Laurent Ghigonis Date: Tue, 18 Jun 2013 14:18:32 +0200 Subject: jsaccess: delete remote files on rsync --- jsaccess/jstore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsaccess/jstore.sh b/jsaccess/jstore.sh index fbf80c4..e09645a 100755 --- a/jsaccess/jstore.sh +++ b/jsaccess/jstore.sh @@ -233,7 +233,7 @@ action_rget() { action_push() { _rget rm -f $tmp - cmd="rsync -rvzP $store/* $rsync_uri" + cmd="rsync -rvzP --delete $store/* $rsync_uri" echo "Running \"$cmd\"" $cmd } -- cgit v1.2.3-59-g8ed1b