USB
For this section, we are exploring how a program can respond to events triggered by USB devices. With this knowledge, when a specific USB device is plugged in, we can take several actions – for example, automatically start a backup process, launch an application, or execute a custom script.
Application
I like to keep my files organized, but every time I lend my flash disk to a friend, they just put all the files in the root directory with no organization whatsoever. Now, I have a messy storage device and an unstable friendship. Imagine (a hundred times worse) a root directory looks like the following:
. ├── music_2.wav ├── picture_10.png ├── Book_2009.pdf ├── Manual_1.pdf └── Manual_2.pdf
To keep things cool between my friend and me, I created a program that automates keeping things organized in my flash drive.
A quick refresher
The Universal Serial Bus...