Page 1 of 1

Sorting downloads by day, month and year?

PostPosted: Tue Feb 07, 2017 7:04 am
by matt!
I have a Hazel setup that automatically sorts my web browsing downloads by day.

Over the years I have tweaked this to exclude in-progress downloads from various apps.
And also to exclude previously sorted folders.

Image

I manually group them by month and year when required.
But I wondered how I could do these two steps automatically?

Here is 10+ years of sorted downloads.

Image

Re: Sorting downloads by day, month and year?

PostPosted: Tue Feb 07, 2017 11:54 am
by Mr_Noodle
If you click on "date added", you'll see an option for format the date. There you can have it only use the year or month. In addition, if you drag in the folder separate token (the triangle pointing to the right), you can specify multiple levels of folders.

Re: Sorting downloads by day, month and year?

PostPosted: Mon Sep 25, 2017 6:00 am
by matt!
I've tried many times to make this work, but have never managed to do so.

Can anybody help me with this?

Desired directory structure (partial snippet):

Code: Select all
2016
+ 2016-04
 + 2016-04-01
 + 2016-04-23
+ 2016-10
 + 2016-10-03
 + 2016-10-12
2017
+ 2017-09
 + 2017-09-25

Re: Sorting downloads by day, month and year?

PostPosted: Mon Sep 25, 2017 11:16 am
by Mr_Noodle
Can you post what your date format looks like?

Re: Sorting downloads by day, month and year?

PostPosted: Tue Sep 26, 2017 4:23 am
by Dave61
I use Hazel to sort photos into folders. My structure is slightly different, Year/Month-Day, but that is easily adjusted.

Image

Click on the "with pattern" field to get selector box up
Image

Click to select date element, then click on the down arrow to refine it
Image

Re: Sorting downloads by day, month and year?

PostPosted: Thu Oct 05, 2017 10:45 am
by matt!
@Dave61 - thanks! will have a go.

Mr_Noodle wrote:Can you post what your date format looks like?

Is this what you mean?
Image

Re: Sorting downloads by day, month and year?

PostPosted: Fri Oct 06, 2017 10:54 am
by Mr_Noodle
I meant the first one. If you look at the example text of how your folder will be named, you'll get an idea of how it will turn out. Adjust the date formats in each date created attribute as needed.