Skip to content

Instantly share code, notes, and snippets.

@dennyhalim
Created October 13, 2009 02:30
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 dennyhalim/208914 to your computer and use it in GitHub Desktop.
Save dennyhalim/208914 to your computer and use it in GitHub Desktop.
ssh username@from_server "tar czf - directory_to_get" | tar xzvf - -C path_where_to_put
#http://www.thingy-ma-jig.co.uk/blog/03-09-2008/using-tar-and-ssh-improve-scp-speeds
#http://www.cyberciti.biz/faq/howto-use-tar-command-through-network-over-ssh-session/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment