Last active
August 29, 2015 14:01
-
-
Save mmastoras/c4f15fe7e51151398866 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/usr/bin/env ruby | |
# run the rysnc and log the results to current/log/rysnc.log | |
system(“rsync -rave 'ssh -i /srv/www/test_node_app/current/keys/admin_sever.pem' unbuntu@<admin_server_ip>:/home/unbuntu/nodejs/Test/data/ /srv/www/test_node_app/current/views/components/ > /srv/www/test_node_app/current/log/rsync.log”) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment