In our latest Raspberry Pi sensor project, we wanted to have a no-network approach to getting data automatically off it. The solution for this came through the running of a Python script on insertion of an “authorised” USB storage device.
In this article, I will explain how such a feat may be achieved.
#python #programming #automation #usb
A guide to trigger a data transfer or other process when inserting a USB in Linux How to Run a Python Script on Insertion of a USB Device