Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2003 15:45:54 -0600
From:      Tillman Hodgson <tillman@seekingfire.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Copying an entire tree
Message-ID:  <20030821154554.G2526@seekingfire.com>
In-Reply-To: <4181120000.1061501034@mccaffrey.phoenix.volant.org>; from patl%2Bfreebsd@volant.org on Thu, Aug 21, 2003 at 02:23:54PM -0700
References:  <4094160000.1061494205@mccaffrey.phoenix.volant.org> <20030821221928.75908519.nico.meijer@zonnet.nl> <4181120000.1061501034@mccaffrey.phoenix.volant.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 21, 2003 at 02:23:54PM -0700, Pat Lashley wrote:
> 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.

cpdup, perhaps?

(/usr/ports/sysutils/cpdup)

-T


-- 
The ultimate question:  Why does life exist?  The answer:  For life's sake.
	- ANONYMOUS, thought to be of Zensunni origin



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