oniony / TMSU

TMSU lets you tags your files and then access them through a nifty virtual filesystem from any other application.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tags attributes

Qwerty-Space opened this issue · comments

Have you considered the ability to tag tags?

For example, Frodo Baggins is a character in a book, and a movie under the Lord of the Rings umbrella.

With tag-tags, I could tag a photo of Frodo with the Frodo Baggins tag, which inherts the tags character, Lord of the Rings, Hobbit, etc. But then the Lord of the Rings tag inherits the tags book, movie, author=J.R.R. Tolkien. The Hobbit tag inherits halfling, fantasy species.... And so on.

I think you get the point.

tmsu help imply

Oh, I couldn't find that on the wiki, looks like it's only in the help pages.

Does imply support multiple implied tags?

Oh, I couldn't find that on the wiki, looks like it's only in the help pages.

Does imply support multiple implied tags?

$ tmsu tag photo.jpg 'Frodo Baggins'
tmsu: new tag 'Frodo Baggins'

$ tmsu imply 'Frodo Baggins' character
tmsu: new tag 'character'

$ tmsu imply 'Frodo Baggins' 'Lord of the Rings'
tmsu: new tag 'Lord of the Rings'

$ tmsu imply 'Frodo Baggins' Hobbit
tmsu: new tag 'Hobbit'

$ tmsu imply 'Lord of the Rings' book
tmsu: new tag 'book'

$ tmsu imply 'Lord of the Rings' movie
tmsu: new tag 'movie'

$ tmsu imply 'Lord of the Rings' author='J.R.R Tolkien'
tmsu: new tag 'author'
tmsu: new value 'J.R.R Tolkien'

$ tmsu imply 'Hobbit' halfling
tmsu: new tag 'halfling'

$ tmsu imply 'Hobbit' fantasy species
tmsu: new tag 'fantasy'
tmsu: new tag 'species'

$ tmsu imply
    Frodo\ Baggins -> Hobbit
    Frodo\ Baggins -> Lord\ of\ the\ Rings
    Frodo\ Baggins -> character
           Hobbit -> fantasy
           Hobbit -> halfling
           Hobbit -> species
Lord\ of\ the\ Rings -> author=J.R.R\ Tolkien
Lord\ of\ the\ Rings -> book
Lord\ of\ the\ Rings -> movie

$ tmsu tags photo.jpg
Frodo\ Baggins  Hobbit  Lord\ of\ the\ Rings  author=J.R.R\ Tolkien  book  character  fantasy  halfling  movie  species