I have a simple USB thumbdrive, which functions as drive for my cars stereo. I'd like to use either a tool or something scriptable to achieve the following:
- When the drive is plugged in, it is recognised as "that drive for the cars music". adding entries to fstab is no problem if that is what is needed for this.
- A sync starts running and mirrors the disk on the computer to the thumbdrive. I am familiar with rsync, the CLI is not a problem; bonus for some "progress-bar" or alert when ready.
- It should mirror, meaning that it should remove files from the thumbdrive which are not or no longer in the local dir.
- It should work recursive, meaning it should sync subdirectories.
- I am not very interested in transcoding music files, the way e.g. rhythmbox does.
- I don't mind overflowing the thumbdrive: when I have too much files in the local directory, that is my problem, not that of the tool (allthough, if there is something that takes this into consideration: bonus)
Is there anything simple that can achieve this? I've looked trough grsync and various other complex tools, but I can hardly believe something this trivial and simple requires me