Created
November 9, 2012 06:54
-
-
Save defp/4044125 to your computer and use it in GitHub Desktop.
makefile for rsync
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
SSH_PORT = 80 | |
SSH_USER = lidashuang@210.44.176.208 | |
SSH_USERPATH = ~/scrapbook | |
DIR = ~/scrapbook | |
rsync: | |
rsync -avze 'ssh -p $(SSH_PORT)' --delete $(DIR) $(SSH_USER):$(SSH_USERPATH) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment