On Tue, 2006-07-25 at 15:05 -0500, Kyle Sexton wrote:
I was wondering if anyone had a way to automatically run a command after automounter sees a new device and mounts it. My goal is to automatically sync over new podcasts to an mp3 player when it's mounted. I've searched around and haven't seen a simple way to do this. I'm trying to avoid writing a poller in a cronjob that looks for the device. :)
The way to do it is to use a udev rule.