2
0
MasterPassword/Site/2013-05/sync
2015-03-13 09:56:28 -04:00

7 lines
289 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd "${BASH_SOURCE[0]%/*}"
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/