2
0
MasterPassword/Site/2013-05/sync

7 lines
355 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -e
cd "${BASH_SOURCE[0]%/*}"
s3cmd sync --skip-existing --continue-put --stats --follow-symlinks --exclude '.git/**' --human-readable-sizes --no-preserve --acl-public --reduced-redundancy "${@:-.}" s3://masterpasswordapp.com/
rsync -rvPLc --no-group "${@:-.}" satura.lyndir.com:/usr/local/www/masterpasswordapp.com/htdocs-secure/