bk.sh: use --delete
This commit is contained in:
parent
361620f70c
commit
57bbb897dd
@ -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 ]
|
||||||
|
Loading…
Reference in New Issue
Block a user