Thursday, June 2, 2011

tar over network. Like beem me up scotty!!!

I find that tar can be useful to transfer files from one system to another system.
Below is a simple example to illustrate how this could  done.
This is assuming the remote login to other system does not need password authentication.


tar cvf - ./* | rsh localhost "cd /var/tmp/bb ; tar xvf -"


1 comment: