Files

34 lines
891 B
Bash
Raw Permalink Normal View History

touch $REMOTE_PROGRESS
sshpass -p "${SERVER_PASSWORD}" \
rsync -avzu \
2025-12-04 13:31:42 +02:00
`# Version control and editor files` \
--exclude .vscode \
--exclude .DS_Store \
2025-12-04 13:31:42 +02:00
`# Dependencies` \
--exclude node_modules \
--exclude vendor \
2025-12-04 13:31:42 +02:00
`# Dynamic content directories` \
--exclude storage \
--exclude uploads \
--exclude temp \
--exclude cache \
--exclude sitepress-multilingual-cms \
2025-12-12 20:17:23 +02:00
`# Claudshit AI shit` \
--exclude ".claude" \
--exclude ".playwright-mcp" \
2025-12-04 13:31:42 +02:00
`# Project scripts` \
--exclude "lazygit" \
2025-12-04 13:31:42 +02:00
--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-12-16 16:06:09 +02:00
--exclude $REMOTE_PROGRESS \
-e ssh "${SERVER_USER}@${SERVER_HOST}:${SERVER_PATH}" . \
$1
rm $REMOTE_PROGRESS