Filters help

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
fabioq
Posts: 22
Joined: Wed Dec 02, 2009 5:59 am

Filters help

Post by fabioq »

Can some one tell me why this filter doesn't display any zip files, but does display all mp4 file?

"K:\KARAOKE FOLDERS\"*.zip|K:\KAR\NON_ENGLISH\*.zip|K:\KAR\SPANISH_BOOK\*.zip|K:\KAR\VIDEOS\KARAOKE\*.mp4|K:\KAR\DOWNLOADS\*.mp4|K:\KAR\SPANISH_BOOK\SPANISH_METAL\*.mp4

I do realize that I have folder named "KARAOKE FOLDER" with a space in between, but even if I remove the space and/or put an underscore, it still doesn't display zip files. In fact, I've tried using only one path for one of the folders:

K:\KAR\SPANISH_BOOK\*.zip|K:\KAR\VIDEOS\KARAOKE\*.mp4|K:\KAR\DOWNLOADS\*.mp4|K:\KAR\SPANISH_BOOK\SPANISH_METAL\*.mp4

And still doesn't display any zip files, But if I remove all the path names for the zip extensions and simple use the *.zip by itself, it does display all the zip files:

*.zip|K:\KAR\VIDEOS\KARAOKE\*.mp4|K:\KAR\DOWNLOADS\*.mp4|K:\KAR\SPANISH_BOOK\SPANISH_METAL\*.mp4

I use it display all karaoke files, in both ZIP and MP4 formats. The problem is that I have one folder which does have both zip and mp4 files which I want to exclude, hence that folder filter (K:\kar\vocals) is not included in my first example. Currently that folder is excluded per Options > Indexes > Exclude, which I've been using as such, but now want to remove the folder from the Excluded list so I can add a SEPARATE filter just for that folder.

As you all can see I'm using it to search for karaoke files stored in folders within my laptop. I want to have two separate filters, one with regular karaoke and the other with karaoke with the lead vocals included.

If there is another way to handle this situation, please do let me know.

-Fabio
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: Filters help

Post by therube »

You're saying "filter".
Is this an actual Filter that you have created - Search | Add to Filters...?

Or is it only the search term of your search?


If it is an actual Filter, do you have Case enabled?
For some reason ? enabling Case seems to causes nothing to turn up?
(Might it be casing on the full file name, including path?
Yes, it is doing that. Kind of weird, maybe.)
therube
Posts: 5711
Joined: Thu Sep 03, 2009 6:48 pm

Re: Filters help

Post by therube »

As far as simplifying, something like this might work for you:

K:\KAR <*.mp4 | *.zip> !\vocals\


(depends on your directory structure, in particular that all karaoke will be found within K:\KAR...)
fabioq
Posts: 22
Joined: Wed Dec 02, 2009 5:59 am

Re: Filters help

Post by fabioq »

It's definately a filter and yes on "Search | Add to Filters". I don't have CASE or any other boxes checked. Unfortunately, my directory structure is a bit convoluted because they were added peacemeal over the years. I could move everything under the KAR folder, but the karaoke hosting application which has been saving singer histories for years (history of what songs they sang) would lose those histories because the filenames would now be in different folders and the karaoke program is not smart enough to find the filenames and fix the histories. This makes if difficult to move folders around or rename them. Unfortunately, the developer has been telling me over a year that plans to add the smarts to the software so it can find the filenames even if they've been moved so histories don't get lost. Or, I can move the folders and let histories get scrambled. Also, while some mp4 files are karaoke, some of them are just music videos so your suggestion of K:\KAR <*.mp4 | *.zip> !\vocals\ to simplify it displays music videos as well as actual karaoke which I prefer to keep separate. The one folder that I can actually rename and move are the vocal folders because most people are not singing karaoke with lead vocals so it wouldn't be in their histories. but the "!\vocals\" part of it gives me an idea if it works the way I think it works. Just for clarification, that is basically saying NOT the \vocals\ folder so it's just matching for that specific folder and not including any zip or mp4 files withing it, correct?

Thanks in advance!
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Filters help

Post by void »

What version of Everything are you using? (Help -> About Everything -> Version)

If you are using Everything 1.5, please try the following filter search:

Code: Select all

"K:\KARAOKE FOLDERS\"**.zip|K:\KAR\NON_ENGLISH\**.zip|K:\KAR\SPANISH_BOOK\**.zip|K:\KAR\VIDEOS\KARAOKE\**.mp4|K:\KAR\DOWNLOADS\**.mp4|K:\KAR\SPANISH_BOOK\SPANISH_METAL\**.mp4
In Everything 1.5:
* = match any character except \
** = match any character
fabioq
Posts: 22
Joined: Wed Dec 02, 2009 5:59 am

Re: Filters help

Post by fabioq »

Thanks! I'll give that a try...but just to clarify the line you included at the end "* = match any character except \" does it mean the literal character "\" or as a delimiter of folders? I'm figure out the difference between the single asterisk and the double asterisk. If you prefer please reply with the link of the documentation where I can read more about it.

Thank you in advance!
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: Filters help

Post by void »

does it mean the literal character "\" or as a delimiter of folders?
Any literal character \

"K:\KARAOKE FOLDERS\*.zip"
will only match zip files directly in
K:\KARAOKE FOLDERS
.
"K:\KARAOKE FOLDERS\**.zip"
will match zip files in
K:\KARAOKE FOLDERS
and subfolders.



Wildcard searching in Everything 1.5
wildcards changes from Everything 1.4
fabioq
Posts: 22
Joined: Wed Dec 02, 2009 5:59 am

Re: Filters help

Post by fabioq »

Also, this is great...I think since at the beginning I simply had *.zip (without including a specific folder) it was including a lot more folders that I wasn't aware of. The number of files your suggesting is returning is less that what I had before, but I'm slowly finding those and adding them to your suggested filter. On my original filter it was returning 116,386 files. Your original suggestion was returning 82,773 files, but I've since added additional folders that the new filter wasn't including and I'm up to 101,897, so I still have to find about 15K files that the new filter is still not including, so I keep switch back and forth between the two filters and I simply scroll down the list and when I find a folder that is not included in the new filter I add it. It will be a bit of trial and error, but your suggestion is helping a lot.

Thank you!
fabioq
Posts: 22
Joined: Wed Dec 02, 2009 5:59 am

Re: Filters help

Post by fabioq »

"K:\KARAOKE FOLDERS\*.zip"
will only match zip files directly in
K:\KARAOKE FOLDERS
.
"K:\KARAOKE FOLDERS\**.zip"
will match zip files in
K:\KARAOKE FOLDERS
and subfolders.
Got it, now, it makes sense!

Thank you!!
fabioq
Posts: 22
Joined: Wed Dec 02, 2009 5:59 am

Re: Filters help

Post by fabioq »

Thanks forr this!...I was able refine it further by adding some grouping for those folders that contained both .zip and .mp4 karaoke files, and I'm now getting the expected results:

Code: Select all

"K:\KARAOKE FOLDERS\"<**.zip|**.mp4>|K:\KAR\NON_ENGLISH\<**.mp4|**.zip>|K:\KAR\SPANISH_BOOK\<**.zip|**.mp4>|K:\KAR\VIDEOS\KARAOKE\**.mp4|K:\KAR\DOWNLOADS\<**.zip|**.mp4>|K:\KAR\NOT_IN_DATABASE\<**.zip|**.mp4>
The folders that have the vocal files are now on separate filter as intended.

Thanks again!
Post Reply