2
0
MasterPassword/Site/2013-05/sync

7 lines
289 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -e
cd "${BASH_SOURCE[0]%/*}"
2015-03-13 13:56:28 +00:00
s3cmd sync --exclude '.git/**' --follow-symlinks --preserve --acl-public --reduced-redundancy "${@:-.}" s3://masterpasswordapp.com/
rsync -avPL --no-group "${@:-.}" satura.lyndir.com:/usr/local/www/masterpasswordapp.com/htdocs-secure/