Excluding paths with mtree

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Thu May 25 06:29:07 PDT 2006


Norberto Meijome <freebsd at 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.


More information about the freebsd-questions mailing list