[prev in list] [next in list] [prev in thread] [next in thread]
List: mandrake-newbie
Subject: Re: [newbie] Help with scp
From: Duncan Anderson <duncangareth () yahoo ! co ! uk>
Date: 2006-02-22 10:24:40
Message-ID: 200602221224.40363.duncangareth () yahoo ! co ! uk
[Download RAW message or body]
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 root@remotesystem 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
____________________________________________________
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic