Skip to content

Instantly share code, notes, and snippets.

@Xaerxess
Created September 8, 2010 16:22
Show Gist options
  • Save Xaerxess/570363 to your computer and use it in GitHub Desktop.
Save Xaerxess/570363 to your computer and use it in GitHub Desktop.
tar czf - /path/files-to-copy | ssh user@remotehost "cat > /path/data.tgz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment