Per mtree(8), passing `-R type -k flags` should clear omit type keywords from the spec created via mtree: -k keywords Use the type keyword plus the specified (whitespace or comma separated) keywords instead of the current set of keywords. If `all' is specified, use all of the other keywords. If the type keyword is not desired, suppress it with -R type. Trying this though, demonstrates that that is not the case: $ sudo mtree -cn -R type -k flags -p /usr/bin/ -x | grep type= /set type=file flags=uarch . type=dir chfn type=link chsh type=link cpio type=link mailq type=link newaliases type=link perl type=link perl5 type=link pgrep type=link pkill type=link stelnet type=link tar type=link ypchfn type=link ypchpass type=link ypchsh type=link yppasswd type=link
(In reply to Ngie Cooper from comment #0) *clear omit -> omit