N810 - executing script when digital camera is plugged in and mounted

2009-10-08 Thread Frederik Vanrenterghem
Hi all, I would like to execute a script that copies the pictures from my digital camera when it's plugged into my nokia tablet. The script functions correctly when executed from the command-line after plugging in the camera. Adding the following rule to /etc/udev/rules.d/zz99_camera.rules works

Re: N810 - executing script when digital camera is plugged in and mounted

2009-10-08 Thread Frederik Vanrenterghem
/8 Frederik Vanrenterghem Hi all, I would like to execute a script that copies the pictures from my digital camera when it's plugged into my nokia tablet. The script functions correctly when executed from the command-line after plugging in the camera. Adding the following rule to /etc/udev

Re: N810 - executing script when digital camera is plugged in and mounted

2009-10-09 Thread Frederik Vanrenterghem
This seems like a good option if it can't be done directly with udev. It would be less clean a solution though, as now every usb disk I'd insert would get treated the same way. Ideally I'd actually like to do a reverse procedure as well: when I plug in a USB harddrive, I'd like the pictures to be

Re: N810 - executing script when digital camera is plugged in and mounted

2009-10-09 Thread Frederik Vanrenterghem
now!! Best regards, Frederik 2009/10/9 Kimmo Hämäläinen kimmo.hamalai...@nokia.com On Fri, 2009-10-09 at 13:17 +0200, ext Frederik Vanrenterghem wrote: This seems like a good option if it can't be done directly with udev. It would be less clean a solution though, as now every usb disk I'd