views:

51

answers:

2

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
http://linux.die.net/man/1/autorun ?
Cam
+2  A: 

Either write a udev rule to run the script, or write a D-Bus client that listens to hal.

Ignacio Vazquez-Abrams