Returning directories in search results #1152
-
Hi, I'm using fd with fzf, but I've noticed it only returns files, not directories. Is there a flag for this? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
tavianator@graphene $ fd
a_dir/
a_dir/a_file |
Beta Was this translation helpful? Give feedback.
-
But you can use the --type option to specify only directories or only files |
Beta Was this translation helpful? Give feedback.
-
The frontpage of FD says “use fd PATTERN instead of find -INAME”. Thing is I could specify multiple inames with the latter to achieve AND condition. For example,
I looked for a solution in the following issues: #315, #650, #714. Any ideas? |
Beta Was this translation helpful? Give feedback.
fd
prints files and directories by default: