TMSU
TMSU copied to clipboard
Mounting search queries
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.
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 .
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.
^ If you were going to do that, ln -s 'ext=pdf and python' python_books
would be the canonical method, AFAICS.