Exclude one of several JPGs with SIZE less than 100 KiB

Discussion related to "Everything" 1.5 Alpha.
Post Reply
tuska
Posts: 1098
Joined: Thu Jul 13, 2017 9:14 am

Exclude one of several JPGs with SIZE less than 100 KiB

Post by tuska »

Hi,
I tried to solve the following - unfortunately without success:

Code: Select all

ext:jpg parent:D:\TMP !exact:thumb.jpg  ... -> thumb.jpg IF size:<100KiB
Exclude thumb.jpg with size:<100KiB

Please help.

Code: Select all

Name/Ext			Size/KiB	Date/Time
----------------------------------------------------------------
IMG-20230619-WA0008.jpg		259 115		19.06.2023 21:02
jpeg-bitmap.jpg			 90 596		18.02.2002 15:13
mvimg-20180324-161541.jpg	 74 636		29.10.2018 20:15
oivt.jpg		   	  8 029		18.02.2002 15:14
----------------------------------------------------------------
thumb.jpg			  1 422		16.05.2023 15:09   <-- Exclude
____________________________________________________________
Windows 11 Pro (x64) Version 24H2 (OS Build 26100.2454) - 2024-11-21
'Everything' 1.5.0.1387a (x64) - "Portable on system drive C:"
NotNull
Posts: 5517
Joined: Wed May 24, 2017 9:22 pm

Re: Exclude one of several JPGs with SIZE less than 100 KiB

Post by NotNull »

<> Grouping should help here.

Code: Select all

parent:D:\TMP  ext:jpg  !< exact:thumb.jpg  size:<100KiB >
(not tested)


BTW: In Everytthing 1.5, parent:D:\TMP ext:jpg can be rewritten as D:\TMP\*.jpg
(* matches any character except for "\" )
tuska
Posts: 1098
Joined: Thu Jul 13, 2017 9:14 am

Re: Exclude one of several JPGs with SIZE less than 100 KiB

Post by tuska »

2NotNull
Thanks a lot!

Your solutions are working well :)

Code: Select all

parent:D:\TMP  ext:jpg  !< exact:thumb.jpg  size:<100KiB >
- OR -
D:\TMP\*.jpg  !< exact:thumb.jpg  size:<100KiB >
I had used the grouping as well (in one of my attempts), unfortunately without the space in the right place :?

Code: Select all

parent:D:\TMP\ ext:jpg !<thumb.jpg size:<100KiB> ... without the space (!) ...
parent:D:\TMP\ ext:jpg !<thumb.jpg size:<100KiB > .. There must be a space before the end of the grouping!
therube
Posts: 5056
Joined: Thu Sep 03, 2009 6:48 pm

Re: Exclude one of several JPGs with SIZE less than 100 KiB

Post by therube »

parent:D:\TMP ext:jpg can be rewritten as D:\TMP\*.jpg
Thank you.
Post Reply