> how can I exclude files with mtree? It
> seems to me it's not possible, is it?
> 
> I want to make mtree specifications of
> a directory but I want to skip some files
> and subdirectories in it.

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.

  Jeremy C. Reed

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

Reply via email to