Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2003 14:23:54 -0700
From:      Pat Lashley <patl+freebsd@volant.org>
To:        Nico Meijer <nico.meijer@zonnet.nl>, freebsd-questions@freebsd.org
Subject:   Re: Copying an entire tree
Message-ID:  <4181120000.1061501034@mccaffrey.phoenix.volant.org>
In-Reply-To: <20030821221928.75908519.nico.meijer@zonnet.nl>
References:  <4094160000.1061494205@mccaffrey.phoenix.volant.org> <20030821221928.75908519.nico.meijer@zonnet.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Thursday, August 21, 2003 22:19:28 +0200 Nico Meijer 
<nico.meijer@zonnet.nl> wrote:

>> Is there any simple clean way to copy an entire directory tree and
>> preserve both the flags (like schg) AND hard links within the tree?
>> (And, of course, preserve device special nodes, etc.)
>
> Have you looked at rsync?

No, I hadn't thought of using rsync for a purely local copy.  But now
that I've tried it, add it to the list of utilities that lose the flags.
(I'm particularly interested in preserving the schg and nodump flags.)

So far, the only thing I know of that seems to do everything right
is cvsup.  But it's really a bit cumbersome to set up for a one-time
copy.



-Pat

We can complain because rose bushes have thorns,
or rejoice because thorn bushes have roses.
				-- Abraham Lincoln



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4181120000.1061501034>