Skip to content

Instantly share code, notes, and snippets.

@da-n
Created June 20, 2014 13:08
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save da-n/9bbaa92dc5ad546945f6 to your computer and use it in GitHub Desktop.
Save da-n/9bbaa92dc5ad546945f6 to your computer and use it in GitHub Desktop.
Rsync copy directory contents but not directory itself
$ rsync -av ~/foo/ user@remote.com:/var/www/bar/
# source http://stackoverflow.com/a/20301093
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment