[CLUE-Tech] Moving files from one system to another (fwd)

Mark Cuny clue at stardyne.org
Wed Jul 17 20:15:37 MDT 2002


On Wed, 17 Jul 2002, Dan Harris wrote:

< ... snip ... >
> tar -b63 -cpf - /sourcedir | rsh <newhost> "tar -C /destination -b63 -xpf -"
> 
> This took only 30 minutes to copy everything.  Simply amazing.

You can also do this with ssh as well.  I've found this is much faster
than doing an scp -pr /sourcedir username at machine:/destdir or an 
recursive ftp.

Something else that would speed this up is to add the 'z' option to 
tar (or use gzip if the version of tar you are using does not support 
the 'z' option).  This will compress the file on the fly while it is 
transfered over the network.

- Mark

Mark Cuny
Systems Consultant




More information about the clue-tech mailing list