From: Dan Vanderkam Date: Thu, 19 Apr 2012 22:10:55 +0000 (-0400) Subject: Use rsync instead of scp for faster, more correct remote pushing X-Git-Tag: v1.0.0~280 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=6070efe28a0c760893fcf1d8b4899aa9554a5480;p=dygraphs.git Use rsync instead of scp for faster, more correct remote pushing --- 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