From b4da801bb0a5714dc20c5e4e6fc8704aae1f72cd Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sun, 21 Feb 2016 11:51:32 -0500 Subject: [PATCH] Skip existing files when uploading to s3. --- Site/2013-05/sync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Site/2013-05/sync b/Site/2013-05/sync index d002e112..af8a6c85 100755 --- a/Site/2013-05/sync +++ b/Site/2013-05/sync @@ -2,5 +2,5 @@ set -e cd "${BASH_SOURCE[0]%/*}" -s3cmd sync --exclude '.git/**' --human-readable-sizes --no-preserve --acl-public --reduced-redundancy "${@:-.}" s3://masterpasswordapp.com/ -rsync -avPL --no-group "${@:-.}" satura.lyndir.com:/usr/local/www/masterpasswordapp.com/htdocs-secure/ +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/