4 ms·
ssh user@host "nc -l 1234 | tar x -C dest_dir" and in another terminal: tar c . | nc -p host 1234 If you do not care about security, why not using rcp ?
by reacweb 12y ago
ssh user@host "nc -l 1234 | tar x -C dest_dir"
and in another terminal:
tar c . | nc -p host 1234
If you do not care about security, why not using rcp ?