Last active
November 7, 2017 15:42
-
-
Save melissacoleman/d1d1e293c9447afc892224705872d410 to your computer and use it in GitHub Desktop.
Rsync
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source .env | |
cd "$(dirname "$0")" | |
exec rsync -rlpt \ | |
--exclude '*.pyc' \ | |
--exclude '__pycache__/' \ | |
--exclude 'venv/' \ | |
--exclude '*.egg-info/' \ | |
--delete \ | |
./ “pi@${HOST}:project-name/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment