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,7 +102,9 @@ 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 \
--compress --human-readable --hard-links --size-only \
-e 'ssh -l $(REMOTE_USER) -i $(IDFILE)' \
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/ $(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/