From 57bbb897dd37afac35e45f42d20402cd8521a53d Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 1 Jan 2023 14:18:24 -0500 Subject: [PATCH] bk.sh: use --delete --- src/.local/bin/bk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/.local/bin/bk.sh b/src/.local/bin/bk.sh index 9dfebda..a289674 100755 --- a/src/.local/bin/bk.sh +++ b/src/.local/bin/bk.sh @@ -15,7 +15,7 @@ ssh-add ~/.ssh/keys/lambda if [ $ACTION = PUSH ] then - rsync -avzP \ + rsync --delete -avzP \ --chown=dogeystamp:sftpr \ --exclude=med/mus \ --exclude=med/gv \ @@ -36,7 +36,7 @@ then --exclude=.fls \ --exclude=.fdb_latexmk \ --exclude=.aux \ - ~/med ~/dox ~/.xonotic dogeystamp@lambda:/mnt/disk/uv/ + ~/med ~/dox ~/nt ~/.xonotic dogeystamp@lambda:/mnt/disk/uv/ fi if [ $ACTION = RECV ]