0
votes
1answer
264 views

Is it possible to trigger a script when drive is ejected from the Finder?

I'd like to run a script (removing non-OSX .* files) on a USB drive whenever that drive is ejected - is there a way to trigger a script automatically when a drive is ejected from the Finder? To ...