I have (at the moment) three mobile USB mass storage devices (flash drive, phone, e-reader). I'd like to always have the latest versions of all my files with me (such as CV, passport, research papers, source code, etc.)
My files change often, so manually copying them every day is not feasible. Ideally, I'd like to plug in my flash drive (for example), have my PC automatically recognize it, mount it, sync it and unmount it.
And the following features 'would be nice':
- GUI
- Notification through Xorg/KDE/Gnome when syncing starts / stops.
- And, why not: two way syncing. But that's not a priority.
I've found some questions that are related to this one:
- Sync files from a mac to a flash drive - automatically?
- How to run custom scripts upon USB device plug-in?
- How to be notified when a USB device was plugged in?
- How to execute a shellscript when I plug-in a USB-device
But none of them answer my question completely. I suppose I could hack something together myself using udev
, rsync
, etc., given enough time. But I'd hate to reinvent the wheel. And time is something I don't have to spare right now. Ideally I'd like to use an existing solution, but I can't find one.
So, what would be the quickest way to set something like this up?
udev
andrsync
.