new rsync cmd
This commit is contained in:
parent
3637b43aea
commit
9d5eef55c1
1 changed files with 4 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -102,7 +102,9 @@ REMOTE_DIR ?= gallery
|
|||
|
||||
.PHONY: upload
|
||||
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)/
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue