Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am writing an application in Qt 4.6/4.7 where in I need to copy some files from the USB drive the moment it is connected to the system. The application while it is running, should be able to detect that a pen drive is inserted and without the user intervention, should look into the usb drive for specific file and copy it to the local drive. This should happen every time a new pen drive is inserted. is there any simple method which i can use? Pls suggest.

Thanks in advance Mahesh

share|improve this question

closed as off topic by Nathan Osman Dec 3 '10 at 2:40

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

4  
This is a great question, but it belongs on another StackExchange site, StackOverflow, which is intended for programming-related questions. Hopefully you can get an answer there. –  Nathan Osman Dec 3 '10 at 2:41