new rsync cmd
This commit is contained in:
parent
3637b43aea
commit
9d5eef55c1
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue