rsync

Last substantive revision: 2015-02-28

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/

CC0
The content on this page is licensed under the CC0 1.0 Universal Public Domain Dedication.