---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# beet

> Manage the beets media library.
> More information: <https://beets.readthedocs.io/en/stable/reference/cli.html>.

- Add music from a specific directory to the library, attempting to get correct tags for it from MusicBrainz:

`beet import {{path/to/directory}}`

- Add a single song to the library, attempting to get correct tags for it from MusicBrainz:

`beet import {{[-s|--singletons]}} {{path/to/file}}`

- Query library:

`beet list {{query}}`

- Show entire library statistics:

`beet stats`

- Show statistics for a specific query:

`beet stats {{query}}`
