Using fd also known as fdfind, how would I go about not including any hidden directories and files except for all the content in the .config directory?
Asked
Active
Viewed 81 times
1 Answers
1
Adding a:
!.config/
To ~/.config/fd/ignore (in gitignore format) seems to work.
It seems it still ignores files whose name starts with . inside .config directories. For example, fdfind foo will find .config/foobar or .config/barfoo, but not .config/.foo not .config/.dir/foo.
If you want those, add !.config/** line to that ignore file.
Stéphane Chazelas
- 522,931
- 91
- 1,010
- 1,501