HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

tmsu — Simple tool for tagging files. More information: <https://tmsu.org/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
simplecommandfilestaggingtmsuclitoolfor

Problem

How to use the tmsu command: Simple tool for tagging files. More information: <https://tmsu.org/>.

Solution

tmsu — Simple tool for tagging files. More information: <https://tmsu.org/>.

Tag a specific file with multiple tags:
tmsu tag {{path/to/file.mp3}} {{music}} {{big-jazz}} {{mp3}}


Tag multiple files:
tmsu tag --tags "{{music mp3}}" {{*.mp3}}


List tags of specified file(s):
tmsu tags {{*.mp3}}


List files with specified tag(s):
tmsu files {{big-jazz}} {{music}}


List files with tags matching boolean expression:
tmsu files "{{(year >= 1990 and year <= 2000)}} and {{grunge}}"


Mount tmsu virtual filesystem to an existing directory:
tmsu mount {{path/to/directory}}

Code Snippets

Tag a specific file with multiple tags

tmsu tag {{path/to/file.mp3}} {{music}} {{big-jazz}} {{mp3}}

Tag multiple files

tmsu tag --tags "{{music mp3}}" {{*.mp3}}

List tags of specified file(s)

tmsu tags {{*.mp3}}

List files with specified tag(s)

tmsu files {{big-jazz}} {{music}}

List files with tags matching boolean expression

tmsu files "{{(year >= 1990 and year <= 2000)}} and {{grunge}}"

Context

tldr-pages: common/tmsu

Revisions (0)

No revisions yet.