Created
November 7, 2014 21:52
-
-
Save socketbox/b2c5e6dafe54565d2552 to your computer and use it in GitHub Desktop.
Silly Bash Tricks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tar files to a remote destination | |
tar czf - . | ssh remote "( cd /somewhere ; cat > file.tar.gz )" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment