FoxTrot Search Forum
FoxTrot Search for macOS Forum

Home » Public Forums » FoxTrot Search User Forum » Exclude subfolders from index by folder name (filter index)
Re: Exclude subfolders from index by folder name [message #1690 is a reply to message #1689] Thu, 24 August 2023 09:13 Go to previous messageGo to previous message
FoxTrot Engineering
Messages: 385
Registered: April 2020
Senior Member
We will consider adding a hidden preference (accessible via Terminal.app) for this in the future. This will probably be a global (i.e. not per-index) setting, with a regular expression.

For example, if you want to skip all folders named "cache" or "meta", the command line to set this hidden preference would be something like:
defaults write com.ctmdev.FoxTrotShared SkipFoldersRegex '/(cache|meta)$'
Or if you want to skip these folders only when located at any depth inside another folder whose name ends with ".repo", the command line would be:
defaults write com.ctmdev.FoxTrotShared SkipFoldersRegex '\.repo/(.*/)?(cache|meta)$'
Would this work for you?


Jérôme - FoxTrot Engineering
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New Index of folders/files
Next Topic: Just a little note of thanks
Goto Forum:
  


Current Time: Wed Jun 26 15:34:32 GMT+2 2024