I would like tree
to display the hw files in the sub-directories like this:
.
├── exp
│ └── hw
├── src
│ └── hw.cpp2
└── tmp
└── hw.cpp
$ /usr/bin/tree --noreport .
displays all of the files:
.
├── exp
│ ├── hi
│ └── hw
├── src
│ ├── hi.cpp2
│ └── hw.cpp2
├── ssbuild.bash
├── sslogin.bash
└── tmp
├── hi.cpp
└── hw.cpp
/usr/bin/tree --noreport -P *hw .
gets hw
w/o an extension:
.
├── exp
│ └── hw
├── src
└── tmp
/usr/bin/tree --noreport -P hw* .
produces:
.
├── exp
├── src
└── tmp
Version info /usr/bin/tree --version
:
tree v2.1.0 © 1996 - 2022 by Steve Baker, Thomas Moore, Francesc Rocher, Florian Sesser, Kyosuke Tokoro