stdin/stdout
HOWTO the produced data of tar -c routed vi stdin/stdout to scp [filename] [username]@host:
thanks |
scp can't not read from stdin. Here's a workaround copied from http://raftaman.net/?p=444
Code:
tar cz a/dir | ssh user@remotehost.com "cat >outfile.tar.gz" |
All times are GMT -5. The time now is 05:31 PM. |