Created
November 30, 2014 15:49
-
-
Save mchirico/ccbdac6b1a50f8fb8511 to your computer and use it in GitHub Desktop.
Rsync public bash script
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
#!/bin/bash | |
#scp -r /Users/mchirico/Dropbox/webDev/Publish/* mAW:/var/www/html | |
cp /Users/mchirico/How_to_Linux_and_Open_Source.txt /Users/mchirico/Dropbox/webDev/Publish/ | |
rsync -Lae ssh /Users/mchirico/Dropbox/webDev/Publish/ mAW:/var/www/html | |
rm -rf /Users/mchirico/Dropbox/webDev/Publish/* | |
cd /Users/mchirico/Dropbox/webDev/WebSiteDialog | |
git add Mike\ Chirico\'s\ Blog.rw6/ | |
git commit -a -m 'Update after pub' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment