Answer by Gabriel for Can the UNIX command tree display only directories...
You could use my arbo command. Install with: ln -s "$PWD"/arbo.py ~/bin/arbo Now you can do: find tstdir -maxdepth 1 -iname '*qm*' |arbo --color The output looks something like this, with the same...
View ArticleAnswer by F. Hauri for Can the UNIX command tree display only directories...
Yes, it's a bug. From man page: BUGS Tree does not prune "empty" directories when the -P and -I options are used. Tree prints directories as it comes to them, so cannot accumu‐ late information on...
View ArticleCan the UNIX command tree display only directories matching a pattern?
I'm trying to figure out if there is a way to get the UNIX command tree to display only directories that match a specific pattern. % tree -d tstdir -P '*qm*' -L 1 tstdir |-- d1 |-- d2 |-- qm1 |-- qm2...
View Article
More Pages to Explore .....