On Wednesday, 22 February 2006 01:48, JoeHill wrote:
> On Tue, 21 Feb 2006 16:32:15 -0700
>
> Ron Hunter-Duvar got an infinite number of monkeys to type out:
> > > Now, I'm not sure I want to use scp as root to do the file copy, then
> > > *all* the destination files will be owned by root, no?
> >
> > If you want to be sure they all get the same permissions etc., it might
> > be easiest to use tar:
>
> Heh. That's just what I'm doing now. Came to me while I was having a smoke
> (the regular kind ;-))
>
> Thanks man :-)

You could do something along these lines:

tar cvf - | ssh [EMAIL PROTECTED] tar xf -

cheers
Duncan

                
___________________________________________________________ 
Win a BlackBerry device from O2 with Yahoo!. Enter now. 
http://www.yahoo.co.uk/blackberry
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to