Syntax for date range

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
burgundy
Posts: 55
Joined: Fri Oct 16, 2009 9:50 am

Syntax for date range

Post by burgundy » Sun Nov 25, 2018 11:22 pm

I want to find all jpeg files with a creation date between 1st January 2017 and 30th April 2017. However neither of these works:

dc:>01jan2017 dc:<30april2017 *.jpg

dc:>01jan2017 AND dc:<30april2017 *.jpg


Can someone kindly advise what the correct syntax should be.

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

Re: Syntax for date range

Post by vanisk » Sun Nov 25, 2018 11:33 pm

Copied from VoidTools help page

Find files and folders created from the 1st August 2014 to 31st August 2014:

dc:1/8/2014-31/8/2014

or:

dc:8/1/2014-8/31/2014

Depending on your locale settings.

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

Re: Syntax for date range

Post by void » Mon Nov 26, 2018 8:01 am

Using month names will work in the next version of Everything.

For now, you will need to specify the month as a number, eg:
dc:1/1/2017..30/4/2017 *.jpg

or, alternatively, iso8601 format:
dc:20170101..20170430 *.jpg

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

Re: Syntax for date range

Post by tuska » Mon Nov 26, 2018 8:07 am

Does it have any effect if only .jpg is used instead of *.jpg?

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

Re: Syntax for date range

Post by vanisk » Mon Nov 26, 2018 9:44 am

tuska wrote:
Mon Nov 26, 2018 8:07 am
Does it have any effect if only .jpg is used instead of *.jpg?
Yes, .jpg searches for both files with jpg as extension and also names of files with .jpg in its name. (For e.g. It also lists something.jpg.part)
But *.jpg only search for files with jpg as extension.
dot jpg AND asterisk dot jpg.jpg
You do not have the required permissions to view the files attached to this post.

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

Re: Syntax for date range

Post by tuska » Mon Nov 26, 2018 10:25 am

vanisk wrote:
Mon Nov 26, 2018 9:44 am
tuska wrote:
Mon Nov 26, 2018 8:07 am
Does it have any effect if only .jpg is used instead of *.jpg?
Yes, .jpg searches for both files with jpg as extension and also names of files with .jpg in its name. (For e.g. It also lists something.jpg.part)
But *.jpg only search for files with jpg as extension.

dot jpg AND asterisk dot jpg.jpg
2vanisk
Ahh, thanks - also for the visual representation!

Post Reply