Skip to content

Instantly share code, notes, and snippets.

@christophengelmayer
Last active January 2, 2017 16:40
Show Gist options
  • Save christophengelmayer/cfaaf4ad8b213312ebb62f31d7c3bdce to your computer and use it in GitHub Desktop.
Save christophengelmayer/cfaaf4ad8b213312ebb62f31d7c3bdce to your computer and use it in GitHub Desktop.
Makefile Rsync ProcessWire
rsync:
rsync -avzuhO --delete \
--exclude '.git*' \
--exclude '.DS_Store' \
--exclude 'Makefile' \
--exclude '/src' \
--exclude '/node_modules' \
--exclude '/site/config.php' \
--exclude '/site/assets/sessions' \
--exclude '/site/assets/files' \
--exclude '/site/assets/logs' \
--exclude '/site/assets/cache' \
. {{SERVER}}:{{PATH_TO_FOLDER}}/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment