Skip to content

Instantly share code, notes, and snippets.

@defp
Created November 9, 2012 06:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save defp/4044125 to your computer and use it in GitHub Desktop.
Save defp/4044125 to your computer and use it in GitHub Desktop.
makefile for rsync
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