$linuxjunkies
>

beets(1)

Beets is a music library manager and tagger that organizes your music collection automatically.

UbuntuDebianFedoraArch

Synopsis

beet [OPTION] COMMAND [ARGS]

Description

Beets is a command-line music organization tool that automatically fetches metadata (artist, album, title, cover art) from music databases and renames/moves your music files into a consistent directory structure. It uses fingerprinting technology to identify songs even without correct tags.

The tool manages a local music library database, allowing you to query, update, and manipulate your collection efficiently. It supports plugins for extended functionality like converting formats, fetching lyrics, and syncing with music services.

Common options

FlagWhat it does
-l, --librarySpecify a custom library database path
-c, --configUse a specific configuration file
-d, --directorySet the directory to manage as your music library
-v, --verboseIncrease verbosity (can be repeated for more detail)
-q, --quietSuppress informational output
-h, --helpShow help message and exit
--versionShow program version and exit

Examples

Import and tag all music from the Downloads folder, interactively matching tracks

beet import ~/Downloads/music

Import music with automatic tagging (skip confirmation prompts when confident)

beet import -s ~/Downloads/music

Show all songs by The Beatles in your library

beet list artist:Beatles

Modify tags for matching items (prompts for confirmation)

beet modify artist=Radiohead album=OK Computer

Copy music files to the configured library directory and reorganize them

beet move -c

Remove tracks with 'Unknown' artist from the library (with confirmation)

beet remove artist:Unknown

Display statistics about your music library (total tracks, albums, playtime)

beet stats

Open the configuration file in your default text editor

beet config -e