Re: secure install
On Sun, Feb 18, 2001 at 03:38:24AM +0100, Carel Fellinger wrote:
> On Sat, Feb 17, 2001 at 02:14:44PM -0500, Steve Robbins wrote:
> > On Sat, Feb 17, 2001 at 06:21:04PM +0100, Carel Fellinger wrote:
> > > The disadvantage of this command is that it doesn't preserve hardlinks.
> > Really? Mine preserves hard (and soft) links.
> strange...reading...hm it says it does...trying...and it does, how come?
> I'm sure that just days ago whilst copying my mirror with cp -a to
> a new drive the size of the new mirror exploded, but using good old
> tar the size of the new mirror was about the same as the old mirror.
> I think I checked some hardlinks, and sure enough they had vanished,
> but in the light of this new test I'm not so sure anymore. Anyway,
> cp -a seems to work.
> groetjes, carel
if you don't mind the extra overhead of rsync compile requirements, rsync -av /from/ /to/ with --exlude or --delete if needed and even remote hostnames like user@host:/from/ --rsh=/to/bin/ssh works very nicely.. it is also incremental, so next time the whole copy process will only update the changes (much faster)
> To UNSUBSCRIBE, email to firstname.lastname@example.org
> with a subject of "unsubscribe". Trouble? Contact email@example.com