Files
cheatsheet-tldr/tldr/tmsu
2025-12-20 00:20:53 +00:00

34 lines
697 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`