new rsync cmd

This commit is contained in:
Rhiannon Morris 2021-02-07 08:26:39 +01:00
parent 3637b43aea
commit 9d5eef55c1

View file

@ -102,8 +102,10 @@ REMOTE_DIR ?= gallery
.PHONY: upload .PHONY: upload
upload: build upload: build
@rsync -rPLzhH --delete -e 'ssh -l $(REMOTE_USER) -i $(IDFILE)' \ @rsync --recursive --partial --progress --copy-links \
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/ --compress --human-readable --hard-links --size-only \
-e 'ssh -l $(REMOTE_USER) -i $(IDFILE)' \
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
# one arg for extra flags # one arg for extra flags