2025-11-14 22:57:27 +02:00
|
|
|
sshpass -p "${SERVER_PASSWORD}" \
|
|
|
|
|
rsync -avzu \
|
2025-12-04 13:31:42 +02:00
|
|
|
`# Version control and editor files` \
|
2025-11-14 22:57:27 +02:00
|
|
|
--exclude .vscode \
|
|
|
|
|
--exclude .DS_Store \
|
2025-12-04 13:31:42 +02:00
|
|
|
`# Dependencies` \
|
2025-11-14 22:57:27 +02:00
|
|
|
--exclude node_modules \
|
|
|
|
|
--exclude vendor \
|
2025-12-04 13:31:42 +02:00
|
|
|
`# Dynamic content directories` \
|
2025-11-14 22:57:27 +02:00
|
|
|
--exclude storage \
|
|
|
|
|
--exclude uploads \
|
|
|
|
|
--exclude temp \
|
|
|
|
|
--exclude cache \
|
|
|
|
|
--exclude sitepress-multilingual-cms \
|
2025-12-04 13:31:42 +02:00
|
|
|
`# Project scripts` \
|
|
|
|
|
--exclude ssh.sh \
|
|
|
|
|
--exclude remote-local.sh \
|
|
|
|
|
--exclude local-remote.sh \
|
|
|
|
|
--exclude .build-cache \
|
|
|
|
|
--exclude watch-build.sh \
|
|
|
|
|
--exclude sftp-watch.sh \
|
|
|
|
|
--exclude split-conflicts.sh \
|
2025-11-14 22:57:27 +02:00
|
|
|
-e ssh "${SERVER_USER}@${SERVER_HOST}:${SERVER_PATH}" . # --exclude .git \
|