commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
You can ran this also with cat for example:
tar zcvf - /folder/ | ssh firstname.lastname@example.org "cat > /dest/folder/file.tar.gz"
Or even run other command's:
tcpdump | ssh email@example.com "cat > /tmp/tcpdump.log"
There are 5 alternatives - vote for the best!
If you can do better, submit your command here.
You must be signed in to comment.