From owner-freebsd-questions@FreeBSD.ORG Thu May 25 13:29:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 CE06616A41F for ; Thu, 25 May 2006 13:29:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AFD443D53 for ; Thu, 25 May 2006 13:29:05 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 4608 invoked from network); 25 May 2006 13:29:04 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 25 May 2006 13:29:04 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 53F1028423; Thu, 25 May 2006 09:29:03 -0400 (EDT) To: Norberto Meijome References: <20060524003922.39d41ca4@localhost> From: Lowell Gilbert Date: Thu, 25 May 2006 09:29:03 -0400 In-Reply-To: <20060524003922.39d41ca4@localhost> (Norberto Meijome's message of "Wed, 24 May 2006 00:39:22 +1000") Message-ID: <44hd3efd28.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Excluding paths with mtree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 13:29:07 -0000 Norberto Meijome writes: > Hi all, > I must be slower than normal today... how can I get mtree to ignore a > subdirectory of the path I'm telling it to map? > > I'm doing: > /usr/sbin/mtree -K sha256digest -x -c -p /usr/ > > but i dont want it to map /usr/home. > > I tried -X /usr/home, and creating /tmp/exc with /usr/home in it, and having > -X /tmp/exc in the cmd line... no luck, > > running 6.1 on i386. Put "home" in the /tmp/exc file.