Sample Header Ad - 728x90

Fish: To match only files or only folders

1 vote
3 answers
225 views
In Zsh, to match only non-directory files or only regular files or only directory files, I can use *(^/), *(.) and *(/) (or *(^/D), *(.D) and *(/D), if I need to include hidden ones). Is it possible to match only files or only folders in Fish?
Asked by jsx97 (1347 rep)
Jul 28, 2024, 11:55 AM
Last activity: Mar 14, 2025, 05:19 PM