Page 1 of 1

Detecting a mounted volume

PostPosted: 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

Re: Detecting a mounted volume

PostPosted: 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.