I am looking to make a standalone USB drive syncing tool using the intel Galileo board.
The idea is that you plug in your backup drive in a specified USB port, then plug in the USB drive to be synced/backed up in a different port.
I want there to be a button on the device that lights up green when both drives are mounted and ready to be synced. The user will then press the button and file transfer/sync will begin. There will be a different light that flashes or lights green upon completion of the transfer and successful unmounting.
My question is where to start with this? I know minimal Bash scripting, and not really any python, other than the standard helloworld.py.
Somehow I want to have a script recognize a drive is connected, based on which physical port it is in, and send a signal to light up a LED. The user button press will in turn send a signal to the linux program prompting it to start the syncing.
Can anyone give me some guidance as to how to begin this project??
Thank you