Originally Posted by actmnophn
Is there a way to run a script that copies the files from my usb stick automatically when they are inserted? Am I able to use different scripts for different drives/types based on serialnum or deviceid or label etc...? I am running slax on an old laptop.
Well, there may be a way to write a udev rule to handle that, but not sure about the different scripts for different drives. The only way I could think of doing that (without a bunch of editing/admin), is to put the script on the USB drive, and name it the same thing. Write one udev rule to run that script when you insert it.
That's the only thing I can think of.