On Wed, Sep 26, 2007 at 12:22:27PM -0700, ann kok wrote:
> can you tell me what is the exactly command?
> 
> machineA# ssh [EMAIL PROTECTED]:tar cvf / ; tar xvf *

machineA# cd $WHERE-MACHINE-B-FILES-WILL-LIVE
machineA# ssh [EMAIL PROTECTED] "cd / ; tar cfp - . " | tar xfp -

Beware of following network mounted filesystems or otherwise recursing.

Note that $WHERE-MACHINE-B-FILES-WILL-LIVE on machineA cannot be /
since it will likely interfere with the currently running OS.

-- 
 /\oo/\
/ /()\ \ David Mackintosh | 
         [EMAIL PROTECTED]  | http://www.xdroop.com

Attachment: pgpfFRodY1cna.pgp
Description: PGP signature

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to