Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Exclude - Text Query

User Image
laurin1
114 discussion posts
I don't understand how to use this feature. I'm trying to find all files that match the name IngoreList, but do not have the word vendor in the file. Is this possible?
Mar 28, 2016  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You should be able to do this by putting -"Vendor" in the Query box.

The Exclude Files box will only exclude based on file name, but by entering -"Vendor" in the Query box, it will search the contents of the file and only show a match if it doesn't contain the word "Vendor."

Hope that helps!
Mar 29, 2016 (modified Mar 29, 2016)  • #2
User Image
laurin1
114 discussion posts
I tried that, and it is not working. Most of those have the word vendor in it.
• Attachment [protected]: Capture.JPG [138,618 bytes]
Mar 29, 2016  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
You just need to move the -"vendor" down to the Query box, instead of having it in the Exclude Files box :)
Mar 29, 2016  • #4
User Image
laurin1
114 discussion posts
I tried that as well, but that gives me a huge list of folders (only, no files at all).
• Attachment [protected]: Capture.JPG [166,946 bytes]
Mar 29, 2016  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
On the Advanced tab, can you try disabling all of the "Show file/folder names" options except for "Show file names that match the Includes filter"?
Mar 30, 2016  • #6
User Image
laurin1
114 discussion posts
Still does not work. I narrowed the scope to one folder that has only one of these files and that file has "vendor" in it, so there should be zero results. Then I figured out that it was matching every line in the file that did not match -"vendor".

I had to change the Advanced setting to "Match query to the entire file". Curious why that is not set to default?
Mar 31, 2016  • #7
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ah, yep! I forgot about that option :)

Line by line is the default because it's good when searching for specific text (instead of searching for "not this text"), as you can see every line in the file that matched your results.

Glad to hear you were able to get it sorted out!
Apr 1, 2016  • #8
Was this helpful?  Login to Vote(-)  Login to Vote(-)