From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 14:45:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 84BFA16A4C0 for ; Thu, 21 Aug 2003 14:45:56 -0700 (PDT) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF75243FBD for ; Thu, 21 Aug 2003 14:45:55 -0700 (PDT) (envelope-from tillman@seekingfire.com) Received: from blues.seekingfire.prv (blues.seekingfire.prv [192.168.23.211]) by mail.seekingfire.com (Postfix) with ESMTP id A3E8063 for ; Thu, 21 Aug 2003 15:45:54 -0600 (CST) Received: (from tillman@localhost) by blues.seekingfire.prv (8.11.6/8.11.6) id h7LLjsA09981 for freebsd-questions@freebsd.org; Thu, 21 Aug 2003 15:45:54 -0600 Date: Thu, 21 Aug 2003 15:45:54 -0600 From: Tillman Hodgson To: freebsd-questions@freebsd.org Message-ID: <20030821154554.G2526@seekingfire.com> References: <4094160000.1061494205@mccaffrey.phoenix.volant.org> <20030821221928.75908519.nico.meijer@zonnet.nl> <4181120000.1061501034@mccaffrey.phoenix.volant.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <4181120000.1061501034@mccaffrey.phoenix.volant.org>; from patl+freebsd@volant.org on Thu, Aug 21, 2003 at 02:23:54PM -0700 X-Urban-Legend: There is lots of hidden information in headers Subject: Re: Copying an entire tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2003 21:45:56 -0000 On Thu, Aug 21, 2003 at 02:23:54PM -0700, Pat Lashley wrote: > On Thursday, August 21, 2003 22:19:28 +0200 Nico Meijer > 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