I want to have automatic backup of some directories on my pendrive whenever I insert a pendrive to my laptop running Ubuntu 10.04. What whould be the simplest solution for that?
A:
Not sure on Linux, but for Windows I have seen an autorun file added that references a batch file to do the job. Worked exactly as you described!
Dustin Laine
2010-04-27 21:47:54
http://linux.die.net/man/1/autorun ?
Cam
2010-04-27 21:50:38
+2
A:
Either write a udev rule to run the script, or write a D-Bus client that listens to hal.
Ignacio Vazquez-Abrams
2010-04-27 21:52:29