Not understanding consecutive rules (plus eject)

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

Moderator: Mr_Noodle

I have a series of SD cards that contain video or pictures that I need to automatically move off (not copy), rename and file when the SD card is put in the Mac. This works fine how I have it at present and saves me a stack of time. But I'd like to do something with the rules when all the files have been transferred. But only when it has finished.

So, what I have at the moment is that I can get a Growl notification (or lots of) when each individual file is moved (There's usually between 5 and 10 files) but I'd like to have a notification when it is ALL finished, not when it is doing something. So that I know everything is done and can eject the SD card.

How do I do that? I want a sticky Growl notification (which I can do) but only when it is finished, not when it is moving.

Also: I have a couple of times got an eject script to work, but I can't get it to eject when the folder on the disk is empty. I've tried lots of combinations, but it isn't reliable. Is this possible? To make it eject when no more files match the rules?

So ideally: How do I get Hazel to move (rename and sort as now) my files and then eject the SD card? Is this possible? Two separate Folder rules on the same folder? Or what?
Simondo
 
Posts: 6
Joined: Thu Sep 13, 2012 8:30 pm

There's no notion from Hazel's POV of it being finished. You have to communicate to Hazel what you think that state is. In your case, the folder being empty. So, create a rule to match an empty folder and then do what you need to when that happens.

As for not ejecting, it usually tells you what process is preventing it from ejecting so you need to look into having that process relinquish any files/folders on that disk.
Mr_Noodle
Site Admin
 
Posts: 11551
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support