bk.sh: use --delete

This commit is contained in:
dogeystamp 2023-01-01 14:18:24 -05:00
parent 361620f70c
commit 57bbb897dd
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -15,7 +15,7 @@ ssh-add ~/.ssh/keys/lambda
if [ $ACTION = PUSH ] if [ $ACTION = PUSH ]
then then
rsync -avzP \ rsync --delete -avzP \
--chown=dogeystamp:sftpr \ --chown=dogeystamp:sftpr \
--exclude=med/mus \ --exclude=med/mus \
--exclude=med/gv \ --exclude=med/gv \
@ -36,7 +36,7 @@ then
--exclude=.fls \ --exclude=.fls \
--exclude=.fdb_latexmk \ --exclude=.fdb_latexmk \
--exclude=.aux \ --exclude=.aux \
~/med ~/dox ~/.xonotic dogeystamp@lambda:/mnt/disk/uv/ ~/med ~/dox ~/nt ~/.xonotic dogeystamp@lambda:/mnt/disk/uv/
fi fi
if [ $ACTION = RECV ] if [ $ACTION = RECV ]