How to filter for folders with specific content?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
abr01
Posts: 100
Joined: Tue May 01, 2018 4:57 pm

How to filter for folders with specific content?

Post by abr01 »

Having lots of folders with my photos, i have about the same amount of folders called 'original', with the unprocessed images. But a few of them would contain video files in different video formats. So i'd like to find all files inside those folders, which are not *.jpg, which should give me a list of video files. I tried

folder:Original ext:!*.jpg

which obviously is wrong. As an example for similar searches, what would the correct syntax be? It would be enough to get a list of folders that do match this search.
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to filter for folders with specific content?

Post by void »

folder: matches folders only.



file: path:Original !ext:*.jpg


path: = match full path and name.
!ext:*.jpg = match files that don't have a .jpg extension (also matches folders)
file: = match files only.

-or-

file: \Original\ !ext:*.jpg


\ = match path and name. (same as path:)
abr01
Posts: 100
Joined: Tue May 01, 2018 4:57 pm

Re: How to filter for folders with specific content?

Post by abr01 »

Thanks, it works, nice!

But i couldn't use the format !ext:*.(jpg|gpx|orf|ori|mp3|rtf|etc) to compactify the list. Not a big deal, but if it's possible, it would be more elegant, because i have maybe
tuska
Posts: 1098
Joined: Thu Jul 13, 2017 9:14 am

Re: How to filter for folders with specific content?

Post by tuska »

Hi,

try

Code: Select all

!ext:jpg;gpx;orf;ori;mp3;rtf
ext:
abr01
Posts: 100
Joined: Tue May 01, 2018 4:57 pm

Re: How to filter for folders with specific content?

Post by abr01 »

tuska wrote: Thu Dec 12, 2024 2:08 pm Hi,

try

Code: Select all

!ext:jpg;gpx;orf;ori;mp3;rtf
ext:
Thanks!
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: How to filter for folders with specific content?

Post by therube »

If you're actually only after the video: files, you could use video: instead of the !ext:jpg;gpx;orf;ori;mp3;rtf.
abr01
Posts: 100
Joined: Tue May 01, 2018 4:57 pm

Re: How to filter for folders with specific content?

Post by abr01 »

therube wrote: Thu Dec 19, 2024 8:02 pm If you're actually only after the video: files, you could use video: instead of the !ext:jpg;gpx;orf;ori;mp3;rtf.
Hmm, that didn't work. I guess, ii had the wrong syntax, like

video:*.mov;*.mp4 \Original\ path:K:\ size:>50mb

However, this works.

ext:*.mov;*.mp4 \Original\ path:K:\ size:>50mb
void
Developer
Posts: 17152
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to filter for folders with specific content?

Post by void »

Please try:

video: \Original\ path:K:\ size:>50mb




video: expands to:
ext:3g2;3gp;3gp2;3gpp;amv;asf;asx;avi;bdmv;bik;d2v;divx;drc;dsa;dsm;dss;dsv;evo;f4v;flc;fli;flic;flv;hdmov;ifo;ivf;m1v;m2p;m2t;m2ts;m2v;m4v;mkv;mod;mov;mp2v;mp4;mp4v;mpe;mpeg;mpg;mpls;mpv2;mpv4;mts;ogm;ogv;ogx;pss;pva;qt;ram;ratdvd;rm;rmm;rmvb;roq;rpm;smil;smk;swf;tod;tp;tpr;ts;tts;uvu;vob;vp6;webm;wm;wmp;wmv;wmx;wvx
These extensions can be customized under Search -> Organize Filters -> Video -> Search
abr01
Posts: 100
Joined: Tue May 01, 2018 4:57 pm

Re: How to filter for folders with specific content?

Post by abr01 »

void wrote: Sat Dec 21, 2024 5:52 am Please try:

video: \Original\ path:K:\ size:>50mb




video: expands to:
ext:3g2;3gp;3gp2;3gpp;amv;asf;asx;avi;bdmv;bik;d2v;divx;drc;dsa;dsm;dss;dsv;evo;f4v;flc;fli;flic;flv;hdmov;ifo;ivf;m1v;m2p;m2t;m2ts;m2v;m4v;mkv;mod;mov;mp2v;mp4;mp4v;mpe;mpeg;mpg;mpls;mpv2;mpv4;mts;ogm;ogv;ogx;pss;pva;qt;ram;ratdvd;rm;rmm;rmvb;roq;rpm;smil;smk;swf;tod;tp;tpr;ts;tts;uvu;vob;vp6;webm;wm;wmp;wmv;wmx;wvx
These extensions can be customized under Search -> Organize Filters -> Video -> Search
Ok, it's clear now. I had it a bit differently, thanks guys.
Post Reply