From 6070efe28a0c760893fcf1d8b4899aa9554a5480 Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Thu, 19 Apr 2012 18:10:55 -0400 Subject: [PATCH] Use rsync instead of scp for faster, more correct remote pushing --- push-to-web.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/push-to-web.sh b/push-to-web.sh index 4d8985c..e888f02 100755 --- a/push-to-web.sh +++ b/push-to-web.sh @@ -18,9 +18,9 @@ if [ -s docs/options.html ] ; then ./generate-jsdoc.sh # Copy everything to the site. - scp -r gallery common tests jsdoc experimental plugins $site \ + rsync -avzr gallery common tests jsdoc experimental plugins $site \ && \ - scp dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/* $site/ + rsync -avzr dygraph*.js gadget.xml excanvas.js thumbnail.png screenshot.png docs/ $site/ else echo "generate-documentation.py failed" fi -- 2.7.4