Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 May 2006 09:29:03 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Norberto Meijome <freebsd@meijome.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Excluding paths with mtree
Message-ID:  <44hd3efd28.fsf@be-well.ilk.org>
In-Reply-To: <20060524003922.39d41ca4@localhost> (Norberto Meijome's message of "Wed, 24 May 2006 00:39:22 %2B1000")
References:  <20060524003922.39d41ca4@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
Norberto Meijome <freebsd@meijome.net> 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.



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