TMSU icon indicating copy to clipboard operation
TMSU copied to clipboard

Mounting search queries

Open kskyten opened this issue 6 years ago • 3 comments

Thanks for making tmsu, it's really neat.

IIt would be really nice to be able to mount specific queries instead of having to go through the fixed structure of the current mount folder. For example:

tmsu mount python_books 'ext=pdf and python'

would mount all pdfs tagged with python under the folder python_books. Another idea is to have named searches in the configuration, so running tmsu mount mount_point would have all the configured searches under the mount point. Ideally it would also be possible to rename the tags and queries folders so that they are hidden.

kskyten avatar Jan 09 '18 15:01 kskyten

That's an excellent idea. This is definitely something that I can look to add.

On 9 Jan 2018 3:02 pm, "Kusti Skytén" [email protected] wrote:

Thanks for making tmsu, it's really neat.

IIt would be really nice to be able to mount specific queries instead of having to go through the fixed structure of the current mount folder. For example:

tmsu mount python_books 'ext=pdf and python'

would mount all pdfs tagged with python under the folder python_books. Another idea is to have named searches in the configuration, so running tmsu mount mount_point would have all the configured searches under the mount point. Ideally it would also be possible to rename the tags and queries folders so that they are hidden.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/oniony/TMSU/issues/130, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAXB0FZCQP5CRtxEIleVAZKq1tv--C6ks5tI39pgaJpZM4RX9SN .

oniony avatar Jan 09 '18 15:01 oniony

Perhaps we could even define entire hierarchies or define a syntax for naming the search results in the mounted filesystem like mkdir 'ext=pdf and python >> python_books'. Most of the usability comes from the above example already though.

kskyten avatar Jan 09 '18 15:01 kskyten

^ If you were going to do that, ln -s 'ext=pdf and python' python_books would be the canonical method, AFAICS.

0ion9 avatar Jan 10 '18 22:01 0ion9