From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 14:24:33 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 9FFEB16A4BF for ; Thu, 21 Aug 2003 14:24:33 -0700 (PDT) Received: from gate.volant.org (gate.volant.org [207.111.218.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 302A543FF2 for ; Thu, 21 Aug 2003 14:24:31 -0700 (PDT) (envelope-from patl+freebsd@volant.org) Received: from 64-144-229-193.client.dsl.net ([64.144.229.193] helo=[192.168.0.13]) by gate.volant.org with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.33 #1) id 19pwuW-000Fyg-00; Thu, 21 Aug 2003 14:24:01 -0700 Date: Thu, 21 Aug 2003 14:23:54 -0700 From: Pat Lashley To: Nico Meijer , freebsd-questions@freebsd.org 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> X-Mailer: Mulberry/3.1.0b4 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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:24:33 -0000 --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. -Pat We can complain because rose bushes have thorns, or rejoice because thorn bushes have roses. -- Abraham Lincoln