Monitoring a USB-drive / Card-reader using python?

T

Thomas W

I want to monitor a given USB-device, like a Memory Card-reader, and
when a memory card is inserted I want to move the data on the card to a
different location on the filesystem ( or do something else with the
files).

Does anybody know how to do this ( on Linux and/or windows ) or if it's
even do-able ?

Thomas
 
D

Diez B. Roggisch

Thomas said:
I want to monitor a given USB-device, like a Memory Card-reader, and
when a memory card is inserted I want to move the data on the card to a
different location on the filesystem ( or do something else with the
files).

Does anybody know how to do this ( on Linux and/or windows ) or if it's
even do-able ?

Under linux use FAM and udev, together with Python FAM binding
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top