Detecting a mounted volume

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

Moderator: Mr_Noodle

Detecting a mounted volume Tue Mar 22, 2011 4:30 am • by neverminding
I'm sure this has been asked and answered, but I can't seem to find it on the forums.

How do you make Hazel detect when a volume is mounted (such as an external hard drive)? I have a bunch of rules for moving files off to external storage, but only want them ran when the drive is connected.

Any help would be appreciated.

Ron
neverminding
 
Posts: 6
Joined: Tue Mar 22, 2011 4:26 am

Re: Detecting a mounted volume Wed Mar 23, 2011 2:37 pm • by Mr_Noodle
You can just have Hazel try and move the files. If the disk isn't there it will fail and keep retrying until the disk shows up.

You may also want to search the forums as I remember someone setting something up to watch the /Volumes directory (where most disks are mounted) and doing something if a new (or specific) disk shows up there.
Mr_Noodle
Site Admin
 
Posts: 11880
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City


Return to Support