Welcome to the Mythicsoft Q&A site for:

- Agent Ransack
- FileLocator Lite
- FileLocator Pro

Please feel free to ask any questions on these products or even answer other community member questions.

Useful Links:

- Contact Us
- Help Manuals
- Mythicsoft Home

Can I exclude folder locations from a search by wildcard?

0 votes

I frequently search directories and subdirectories which all have a ".svn" subfolder. I don't particularly need Agent Ransack to search those. Trying to exclude each individual /.svn/ directory would be tedious at best. Is there a way to do this via wildcards?
Thank You!

asked Jul 8 by emyerson (30 points)

1 Answer

0 votes

Agent Ransack doesn't have the location filter functionality but with FileLocator Pro you can exclude search paths based on expressions, e.g. to exclude any path with .svn in it:

Look In: C:\My\Source\Code;-.svn

The '-.svn' will exclude any location that has .svn in it. Similarly you can limit a search to paths that only contain a given term, e.g. to only include paths with security in the name

Look In: C:\My\Source\Code;+security

You can also use expression types with the location filters, e.g. using a Boolean expression to exclude either Debug or Release folders

Look In: C:\My\Source\Code;-:bool:debug OR release

or, using a regular expression to exclude anything with a number

Look In: C:\My\Source\Code;-:regex:[0-9]

Finally, you can combine multiple filters, e.g. to include all security folders but exclude archive folders

Look In: C:\My\Source\Code;+security;-archive
answered Jul 8 by dave (49,250 points)