The first use case that came to my mind has been the one I've had difficulty with for the longest - marking/unmarking my music files to sync with my Android phone. I've heard Rhythmbox is good for that but what I'm looking for is a window which shows all my music with those that are also on my phone marked somehow (maybe a differently colored icon or something like that). I should be able to right click or use a shortcut to mark/unmark the music and once done, the music on my phone is updated. Files previously present and now unmarked are deleted, files newly marked are copied.
I can see using TMSU for this with following approach:
1. Mount the VFS, to e.g. mount point "mp"
2. Using Nemo Actions (I use Linux Mint), call a script that upon executing on the selected file will do the following:
- toggles the "sync" tag (so all files with "sync" will show-up under "mp/tags/sync")
- If the file already has a "sync" tag, untag it (can it be done by doing an rm on "mp/tags/sync/<filename>"?)
- Based on tag being present or not, toggle file icon to visually indicate if the file is marked/unmarked. I don't know how this can be done.
3. Once done, we can run a simple rsync script that syncs "mp/tags/sync/*" to the sdcard on the phone.
Not sure when I will get around to actually implenting this :)
I can see using TMSU for this with following approach:
1. Mount the VFS, to e.g. mount point "mp"
2. Using Nemo Actions (I use Linux Mint), call a script that upon executing on the selected file will do the following:
- toggles the "sync" tag (so all files with "sync" will show-up under "mp/tags/sync")
- If the file already has a "sync" tag, untag it (can it be done by doing an rm on "mp/tags/sync/<filename>"?)
- Based on tag being present or not, toggle file icon to visually indicate if the file is marked/unmarked. I don't know how this can be done.
3. Once done, we can run a simple rsync script that syncs "mp/tags/sync/*" to the sdcard on the phone.
Not sure when I will get around to actually implenting this :)