Run script when a specific disk/memory card is mounted under OSX

Posted by Max Rydahl Andersen on Super User See other posts from Super User or by Max Rydahl Andersen
Published on 2010-04-17T19:02:14Z Indexed on 2010/04/17 19:03 UTC
Read the original article Hit count: 390

Filed under:
|
|
|
|

How do I run a script when a drive is mounted under OSX ?

My usecase is that I would like to automatically copy images from my USB memory/harddrive when it is inserted in my USB card reader, and when a DVD or CD is inserted I would like to copy it for storage in my media center.

I've tried using Marcopolo but from what I can see it can only detect the presence of a certain USB device, not the presence of specific harddrive. (http://superuser.com/questions/65127/is-it-possible-to-run-an-automator-workflow-when-a-usb-device-is-connected)

© Super User or respective owner

Related posts about osx

Related posts about usb