From e3fdc86eb5356cdfc60362c039166280746beea0 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Thu, 13 Jun 2019 11:20:16 +0200 Subject: [PATCH] Feat: makefile synchro prod eleves --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8365d19..284cb1f 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +YEAR=2018-2019 SSH_CONF=Embrevade SSH_TARGET_DIR=/var/docker/raw.opytex.org/www/ @@ -11,8 +12,11 @@ rsync_upload: 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 ./ $(GIT_EXCLUDE) /run/media/lafrite/K1 - #rsync -av --del ./ $(GIT_EXCLUDE) /run/media/lafrite/CLE32_ext4 + #rsync --progress --modify-window=1 --update --recursive --times --del ./ $(GIT_EXCLUDE) /run/media/lafrite/K1 + rsync -av --del ./ $(GIT_EXCLUDE) /run/media/lafrite/CLE32_ext4/Enseignements/$(YEAR) + + rsync -av ../../Production\ eleves/$(YEAR) /run/media/lafrite/CLE32_ext4/Productions/ + rsync -av /run/media/lafrite/CLE32_ext4/Productions/$(YEAR) ../../Production\ eleves/ .PHONY: