From c9c9aec9dd886bea1b78a291fc92fd8052615666 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Mon, 3 Nov 2014 15:56:46 -0500 Subject: [PATCH] Sync mpw-js to js.masterpasswordapp.com. --- Site/mpw-js/sync | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 Site/mpw-js/sync diff --git a/Site/mpw-js/sync b/Site/mpw-js/sync new file mode 100755 index 00000000..e46b9a88 --- /dev/null +++ b/Site/mpw-js/sync @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -e + +cd "${BASH_SOURCE[0]%/*}" +#s3cmd sync --exclude '.git/**' --delete-removed --follow-symlinks --preserve --acl-public --reduced-redundancy . s3://js.masterpasswordapp.com/ +rsync -avP --no-group . satura.lyndir.com:/usr/local/www/js.masterpasswordapp.com/htdocs-secure/