searching by file size

General discussion related to "Everything".
Post Reply
WV-Mike
Posts: 7
Joined: Sat Oct 28, 2017 2:06 pm

searching by file size

Post by WV-Mike » Sun Dec 30, 2018 1:41 pm

First off: I did try to find an answer by searching the forum but I did not find anything I understood.

I want to list all .jpg files withing and date range and larger than a specific file size.

I found this part in the forum: dc:20171001..20181230 *.jpg
It will display a list of all .jpg files from Jan 1st 2017 to Dec 30 2018.

I wish to add a 'larger than" filter to this string. For instance: larger than 2 megabytes

What would the syntax be?

Thanks,
WV-Mike

void
Site Admin
Posts: 4715
Joined: Fri Oct 16, 2009 11:31 pm

Re: searching by file size

Post by void » Sun Dec 30, 2018 1:48 pm

I wish to add a 'larger than" filter to this string. For instance: larger than 2 megabytes
Please try searching for:
size:>2mb

Altogether:
dc:20171001..20181230 *.jpg size:>2mb

WV-Mike
Posts: 7
Joined: Sat Oct 28, 2017 2:06 pm

Re: searching by file size

Post by WV-Mike » Sun Dec 30, 2018 2:22 pm

void wrote:
Sun Dec 30, 2018 1:48 pm
I wish to add a 'larger than" filter to this string. For instance: larger than 2 megabytes
Please try searching for:
size:>2mb

Altogether:
dc:20171001..20181230 *.jpg size:>2mb
Thanks!
However, it will now only display a list of "date created" .jpg files from 2018.
I have verified there are files larger than 2mb which were created in 2017.

BTW - tried using various combos from the help file but had no luck.
Size Constants:
empty
tiny 0 KB < size <= 10 KB
small 10 KB < size <= 100 KB
medium 100 KB < size <= 1 MB
large 1 MB < size <= 16 MB
huge 16 MB < size <= 128 MB
gigantic size > 128 MB
unknown
WV-Mike

vanisk
Posts: 130
Joined: Sat Oct 27, 2018 11:33 am

Re: searching by file size

Post by vanisk » Sun Dec 30, 2018 3:11 pm

if your date range starts on Jan 1st 2017, shouldn't it be dc:20170101..20181230 instead of 20171001

WV-Mike
Posts: 7
Joined: Sat Oct 28, 2017 2:06 pm

Re: searching by file size

Post by WV-Mike » Sun Dec 30, 2018 4:00 pm

vanisk wrote:
Sun Dec 30, 2018 3:11 pm
if your date range starts on Jan 1st 2017, shouldn't it be dc:20170101..20181230 instead of 20171001
Right you are!

Thanks,

WV-Mike

WV-Mike
Posts: 7
Joined: Sat Oct 28, 2017 2:06 pm

Re: searching by file size

Post by WV-Mike » Mon Dec 31, 2018 3:52 pm

vanisk wrote:
Sun Dec 30, 2018 3:11 pm
if your date range starts on Jan 1st 2017, shouldn't it be dc:20170101..20181230 instead of 20171001
I cannot get "dc:20180101..20180430 *.jpg size:>2mb" to search a USB drive.
It only searches the C:\ drive.

WV-Mike

WV-Mike
Posts: 7
Joined: Sat Oct 28, 2017 2:06 pm

Re: searching by file size

Post by WV-Mike » Mon Dec 31, 2018 4:12 pm

WV-Mike wrote:
Mon Dec 31, 2018 3:52 pm
vanisk wrote:
Sun Dec 30, 2018 3:11 pm
if your date range starts on Jan 1st 2017, shouldn't it be dc:20170101..20181230 instead of 20171001
I cannot get "dc:20180101..20180430 *.jpg size:>2mb" to search a USB drive.
It only searches the C:\ drive.

WV-Mike
I was able to direct it to the E (USB) drive.

However, I get no result with this:

e:\ dc:20180101..20180428 *.jpg size:>2mb

This returns 108, 618 results
e:\ dc:20180101..20181228 *.jpg size:>2mb

tuska
Posts: 157
Joined: Thu Jul 13, 2017 9:14 am

Re: searching by file size

Post by tuska » Mon Dec 31, 2018 5:15 pm

Check this first: USB-Sticks
Your search parameters seem to be OK.

vanisk
Posts: 130
Joined: Sat Oct 27, 2018 11:33 am

Re: searching by file size

Post by vanisk » Mon Dec 31, 2018 5:19 pm

Can you please verify this and tell how many results you get?
e:\ dc:20180429..20181228 *.jpg size:>2mb

WV-Mike
Posts: 7
Joined: Sat Oct 28, 2017 2:06 pm

Re: searching by file size

Post by WV-Mike » Mon Dec 31, 2018 5:45 pm

vanisk wrote:
Mon Dec 31, 2018 5:19 pm
Can you please verify this and tell how many results you get?
e:\ dc:20180429..20181228 *.jpg size:>2mb
108, 618
This returns results dating back to 1982.
WV-Mike

void
Site Admin
Posts: 4715
Joined: Fri Oct 16, 2009 11:31 pm

Re: searching by file size

Post by void » Mon Dec 31, 2018 11:57 pm

Please try searching for:
e:\ dm:20180429..20181228 *.jpg size:>2mb

dc = date created.
dm = date modified.

Date modified information is indexed by default (fast searching and sorting), whereas date created information is not.

WV-Mike
Posts: 7
Joined: Sat Oct 28, 2017 2:06 pm

Re: searching by file size

Post by WV-Mike » Tue Jan 01, 2019 1:51 pm

void wrote:
Mon Dec 31, 2018 11:57 pm
Please try searching for:
e:\ dm:20180429..20181228 *.jpg size:>2mb

dc = date created.
dm = date modified.

Date modified information is indexed by default (fast searching and sorting), whereas date created information is not.
Of course! Now that it is obvious it all becomes clear. ;)

Thanks and Happy New Year to all.
WV-Mike

Post Reply