sbiner
07-05-2006, 10:56 AM
Hello,
I have a script (a bourne shell script) which I use to backup up directory from my Mac on my Ipod mini. It works fine but I would like for the script to start automatically when my Ipod is plugged (i.e. when it is mounted under /Volumes).
I could see a way to do this using crontab to regularly check if the Ipod is mounted but I am wondering if there is a more elegant solution to this.
Any idea?
Thanks.
Sebastien.
I have a script (a bourne shell script) which I use to backup up directory from my Mac on my Ipod mini. It works fine but I would like for the script to start automatically when my Ipod is plugged (i.e. when it is mounted under /Volumes).
I could see a way to do this using crontab to regularly check if the Ipod is mounted but I am wondering if there is a more elegant solution to this.
Any idea?
Thanks.
Sebastien.