Let udev run your script when the appropriate device is connected.
http://www.reactivated.net/writing_udev_rules.html
Then you just need to run an ssh command against the correct mount point.
Honestly, python might be overkill for this. Consider writing a very
small bash script.
Michael
On Fr
Hi,
I am completly new to python.
I need to create and script that needs to do the following steps and would
apreciate if someone can give me the guidelines to do it as will be my first
python script:
The script will be in a linux machine.
Will wait for a device to conect on the usb. So needs t