rsync
Created: 2015-02-04; last major update: 2015-02-28
Status: notes; belief: possible
For deploying my site:
# run from the root of the git repository
alias deploy='git push origin master && git push bitbucket master && time python3 generator/generator.py && rsync -e ssh -r --delete _site/ server:destination/'
For syncing a PDF to my site; use with uppdf FILENAME
:
uppdf() {
rsync --ignore-existing -vv $1 server:destination/
}
Backup Linode:
rsync -avz server:/var/www/ var/
This work is licensed under a Creative Commons Attribution 4.0 International License.