new rsync cmd

This commit is contained in:
Rhiannon Morris 2021-02-07 08:26:39 +01:00
parent 3637b43aea
commit 9d5eef55c1
1 changed files with 4 additions and 2 deletions

View File

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