On Wed, 5 Sep 2007, Jeremy C. Reed wrote:

Have a look at the "optional" (for files) and "ignore" (for directories)
keywords in man page. And see examples in /etc/mtree/special.

Generate your entire specification and then modify using "optional" and
"ignore" as you wish.

Thanks for the info. But I was hoping to use it
in a fully automatic script.

p.s. Some other implementations of mtree(8) have an exclude feature.

Yeah I noticed that too. I tried NetBSD's mtree on
OpenBSD but it didn't compile out of the box and
it didn't seem like a trivial thing to port.

--
Antti Harri

Reply via email to