LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Is there a way to automatically copy an flashdrive to a predetermined folder? (http://www.linuxquestions.org/questions/linux-newbie-8/is-there-a-way-to-automatically-copy-an-flashdrive-to-a-predetermined-folder-862441/)

sc4s2cg 02-13-2011 02:07 PM

Is there a way to automatically copy an flashdrive to a predetermined folder?
 
The reason I ask is, we have a home server running Fedora 12. I would like to be able to let anyone just plug in a flashdrive, and have Fedora automatically grab and copy all the files on that flashdrive to a specific share.

tredegar 02-13-2011 02:14 PM

Yes.

You need to write a udev rule

See here for an example.

If that's not enough to get you started, try a search on writing udev rules


All times are GMT -5. The time now is 09:58 PM.