Hi all,
This question is maybe more suited for tree's github page, but I want to make sure I'm not being an idiot.
When using more than one wildcard as a pattern with tree I get what I consider to be false matches. For example
Code:
tree -P "*.gpg" --prune .
works as expected and shows me all my .gpg files, however
Code:
tree -P "*.html*.gpg" --prune .
matches both files ending in .html.gpg AND files ending in just .html (but not files ending in just .gpg). In my opinon it should only match files that have both .html and .gpg in the title.
Am I wrong, or am I making a mistake in the command?