[plug] imaging HD

Craig Ringer craig at postnewspapers.com.au
Fri Jan 3 23:09:22 WST 2003


>   For a network copy, use "rsync -aH".  Who needs tar on Linux?

tar cvjf - /some/files | ssh myhost | tar xjf -

it can be really handy, esp as ssh and tar are much more universal than 
rsync. of course you'd use no "j" option and "ssh -C" if you were going 
to be talking to a box w/o GNU tar.

I still trust tar more than cp, its less likely to get stuck on sockets 
and named pipes. cp -R is good but I've still had issues.

Craig



More information about the plug mailing list