Wait until download finishes

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Wait until download finishes Thu Sep 08, 2016 5:57 pm • by dennis.a
Hello,

I've got an issue where a folder 50-100 GB in size is sent to me every morning at 2 am. I'd like Hazel to wait until that folder is finished downloading and copy it to another drive. Since the size is never specific, I can't know exactly how long it will take, though 2 hours should be enough.

Currently I have Hazel watching the folder and, when something is added (and has not yet been matched), marking it grey, thus giving it it's first match.

The next rule says "If it's been 2 hours since it was matched and it's grey, copy to a new drive and label it green"

Finally, "If it's been 2 hours since it was last matched and it's green, move it to a "transferred" folder".

What seems to happen is that it gets moved to the transfer folder without being copied. I'm not certain, but sometimes it looks like it moves the folder before it's finished downloading.

Any ideas would be helpful.
dennis.a
 
Posts: 6
Joined: Thu Sep 08, 2016 5:48 pm

Re: Wait until download finishes Fri Sep 09, 2016 12:11 pm • by Mr_Noodle
Not sure if you need the color labels. I think "Date added is not in the last 2 hours" or, possibly better "Date modified is not in the last X hours" would be sufficient. What program is downloading the folder?
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Wait until download finishes Fri Sep 09, 2016 9:25 pm • by dennis.a
I wouldn't think I need the labels either, but even with them, I can't get hazel to behave.

The application downloading is Aspera Connect which, unfortunately, does not have an "In Progress" folder for downloads.

dennis
dennis.a
 
Posts: 6
Joined: Thu Sep 08, 2016 5:48 pm

Re: Wait until download finishes Tue Sep 27, 2016 12:59 pm • by dennis.a
Hello,

I've been struggling with this and I just saw "Size - did not change". Can I get some clarification on this? It hasn't change since the last time this rule was matched or any rule was matched?

thanks
dennis!
dennis.a
 
Posts: 6
Joined: Thu Sep 08, 2016 5:48 pm

Re: Wait until download finishes Wed Sep 28, 2016 11:45 am • by Mr_Noodle
Since the last time it checked. Even if it failed to match that rule, it should match if the size is different than last time.
Mr_Noodle
Site Admin
 
Posts: 11872
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Re: Wait until download finishes Wed Sep 28, 2016 8:19 pm • by dennis.a
Great, thank you!

My obnoxiously large file downloads are starting up again in about a day so I'm very hopeful this is what will make my rules work as I envision them.

thanks!
dennis
dennis.a
 
Posts: 6
Joined: Thu Sep 08, 2016 5:48 pm


Return to Support