Rst clears

This commit is contained in:
Bertrand Benjamin
2017-08-24 09:49:48 +03:00
parent 18ce35dfdb
commit 31bf9575b9
6 changed files with 24 additions and 140 deletions

View File

@@ -1,17 +1,18 @@
SSH_CONF=Embrevade
SSH_TARGET_DIR=/var/docker/raw.opytex.org/www/
SRC_EXCLUDE=--exclude 'Archive' --exclude 'tools/' --exclude ".git" --exclude ".gitignore" --exclude "__pycache__" --exclude "config.py" --exclude "Divers" --exclude "reflections" --exclude "Notes" --exclude "notes" --exclude ".*"
SRC_EXCLUDE=--exclude 'Archive' --exclude 'tools/' --exclude "__pycache__" --exclude "config.py" --exclude "Divers" --exclude "reflections" --exclude "Notes" --exclude "notes"
GIT_EXCLUDE=--exclude ".git" --exclude ".gitignore" --exclude ".*"
ssh_upload:
scp -r $(OUTPUTDIR)/* $(SSH_CONF):$(SSH_TARGET_DIR)
rsync_upload:
rsync -e "ssh" -P -rvzc --delete $(SRC_EXCLUDE) $(CURDIR)/ $(SSH_CONF):$(SSH_TARGET_DIR) --cvs-exclude
rsync -e "ssh" -P -rvzc --delete $(GIT_EXCLUDE) $(SRC_EXCLUDE) $(CURDIR)/ $(SSH_CONF):$(SSH_TARGET_DIR) --cvs-exclude
rsync_cleUSB:
rsync --progress --modify-window=1 --update --recursive --times --del ./ /run/media/lafrite/CLE32_FAT
rsync -av --del ./ /run/media/lafrite/Cle32_ext4
rsync --progress --modify-window=1 --update --recursive --times --del ./ $(GIT_EXCLUDE) /run/media/lafrite/CLE32_FAT
rsync -av --del ./ $(GIT_EXCLUDE) /run/media/lafrite/Cle32_ext4
.PHONY: