Skip to content

Instantly share code, notes, and snippets.

@andruhon
Created January 6, 2016 18:19
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 andruhon/7521e2aa3f1141df6888 to your computer and use it in GitHub Desktop.
Save andruhon/7521e2aa3f1141df6888 to your computer and use it in GitHub Desktop.
rsync via ssh from current dir to host:/path; -a archive, -v verbose, -r recursive, -e remote shell programm, exclude node modules
rsync -avr -e "ssh" --exclude 'node_modules*' ./* host:/path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment