2

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?

1 Answer 1

0

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.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.