Page 1 of 1

Mounting and sync-ing a USB device to USB drive

Posted: Sun Nov 13, 2016 3:46 pm
by nebulloyd
Hello,

I new to programming and RPi. I have managed now to get access to my RPi3B via a VNC (using ethernet to macbook pro) using terminal commands.

I am now ready to try and use the RPi for my project. It is not a new idea but I need a very easily explained procedure. Keep in mind I don't actually know how to make text files using terminal. I would love if someone could break down the steps in doing setting up an automated file sync from my GPS device and/or a card reader to a second USB drive. I am a first timer on a steep learning curve thank you for your patience. So far...

I used:

Code: Select all

lsusb
to get the info for my GPS which reads

Code: Select all

Bus 001 Device 004: ID 091e:2459 Garmin International GPSmap 62/78 series
I now need to know how to:
1. make the udev rule to ID and mount USB drive and GPS device
2. Put in the rsync script so that when the device is detected (to store certain files from GPS to preferably a USB drive or otherwise the kernel mSD card) the sync will happen automatically
3. Auto shutdown device with some kind of signal that it is complete (LED's maybe?)