How to find files without walking into .git directory?

Hi DOpus community

I wonder if there is anyway to prevent find from diving into .git directory while doing its work.
My source drive contains a couple of dozens of packages and it slows down thing a lot.
More over, i am quite frightened that some git system files appears each time in big result list.
That leads to hard to understand result and weaken system integrity if some involuntary file ops happen.

I already succeed to not show .git folder in lister , but fail with find
If anyone can help ...

Thanks by advance

Try adding it to the list of excluded folders in the Find panel:

1 Like

Thanks you ! That works . Sorry if the question and its answer seem so trivial . It's my second week of use.

I have looked into the settings for something like exclude in the filter box. Without success
I was looking for something persistent, but this flag in the find ui dialog seems to be saved.
So it's OK. The gear box with exclude hidden folder works fine too since .git have been hidden in my settings

One have to check if it's saved with backup and restore setttings too

The Find panel lets you save your own default settings which you can reset to at any time. Use that to save your defaults.

It also supports Presets, which let you load and save settings to named Presets which you can recall whenever you want to do something special.

Both are accessed via the top of the panel.

1 Like