2
0
MasterPassword/Site/2013-05/sync
2016-02-21 11:51:32 -05:00

7 lines
355 B
Bash
Executable File

#!/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/