cboxdoerfer / fsearch

A fast file search utility for Unix-like systems based on GTK3
GNU General Public License v2.0
3.3k stars 208 forks source link

Excluding folders based on name #287

Closed ghost closed 3 years ago

ghost commented 3 years ago

Hi, I think it'd be great if in addition to excluding individual files and hidden folders excluding folders was also possible. I haven't for example figured out how to exclude a "node_modules" folder which really bogs the indexing speed down.

cboxdoerfer commented 3 years ago

If it is a particular folder you want to exclude, you can add it to the list of excluded folders. If you want to exclude every folder with that name you can add 'node_modules' to the exclude files text entry (it applies to files and folders).

ghost commented 3 years ago

thanks for the quick response. That does appear to remove the folder itself from the search results, but it does not seem to exclude the files within it, or at least I could not find a pattern to make it work.

cboxdoerfer commented 3 years ago

This is weird. Can you post the content of ~/.config/fsearch/fsearch.conf?

ghost commented 3 years ago

problem has been resolved, I had a space in the string, my bad.