COPYFILE_DISABLE=1: macOS xattr-Warnungen bei tar unterdrücken
This commit is contained in:
parent
3547715555
commit
569816d9a4
2 changed files with 3 additions and 3 deletions
4
Makefile
4
Makefile
|
|
@ -71,7 +71,7 @@ deploy: check-ssh
|
|||
@echo "→ Git push (Backup)..."
|
||||
@git push $(GIT_REMOTE) main
|
||||
@echo "→ Sync zu DS..."
|
||||
@tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@COPYFILE_DISABLE=1 tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@echo "→ Docker rebuild + restart..."
|
||||
@ssh $(DS_HOST) " \
|
||||
cd $(DS_PATH) && \
|
||||
|
|
@ -89,7 +89,7 @@ deploy: check-ssh
|
|||
# ----------------------------------------------------------
|
||||
sync: check-ssh
|
||||
@echo "→ Sync zu DS..."
|
||||
@tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@COPYFILE_DISABLE=1 tar czf - $(TAR_EXCLUDE) . | ssh $(DS_HOST) "tar xzf - -C $(DS_PATH)/"
|
||||
@echo " ✓ Sync fertig."
|
||||
|
||||
# ----------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ ok "Verzeichnisse angelegt"
|
|||
echo ""
|
||||
echo "→ Dateien übertragen (tar+ssh)..."
|
||||
|
||||
cd "${ROOT}" && tar czf - \
|
||||
cd "${ROOT}" && COPYFILE_DISABLE=1 tar czf - \
|
||||
--exclude='.git' \
|
||||
--exclude='./data' \
|
||||
--exclude='./backend/venv' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue