← 返回命令列表

Linux command

beets 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Import music into your library

beet import [path/to/music]

Import without auto-tagging

beet import -A [path/to/music]

List all albums

beet ls -a

Search for tracks

beet ls [artist:beatles]

Update library statistics

beet stats

Move files to match library organization

beet move

Modify metadata

beet modify [query] [field=value]

Fetch missing album art

beet fetchart

说明

beets is a music library manager and organizer that automatically tags, organizes, and manages music collections. It queries online databases like MusicBrainz to identify albums and correct metadata. During import, beets identifies albums, fixes metadata, downloads album art, and moves files into a structured directory hierarchy. The query system allows powerful searches and bulk modifications across the library. The plugin system extends functionality with features like fetching lyrics, managing play counts, converting formats, and integrating with music players. Configuration is stored in ~/.config/beets/config.yaml.

参数

import _path_
Import music files into the library.
ls _query_
List tracks or albums matching query.
modify _query_ _field=value_
Modify metadata for matching items.
move _query_
Move files to match configured paths.
rm _query_
Remove items from the library.
update _query_
Update library from file changes.
stats
Show library statistics.
-a, --album
Operate on albums instead of tracks.
-f, --format _template_
Custom output format.
-A, --noautotag
Skip automatic tagging during import.

FAQ

What is the beets command used for?

beets is a music library manager and organizer that automatically tags, organizes, and manages music collections. It queries online databases like MusicBrainz to identify albums and correct metadata. During import, beets identifies albums, fixes metadata, downloads album art, and moves files into a structured directory hierarchy. The query system allows powerful searches and bulk modifications across the library. The plugin system extends functionality with features like fetching lyrics, managing play counts, converting formats, and integrating with music players. Configuration is stored in ~/.config/beets/config.yaml.

How do I run a basic beets example?

Run `beet import [path/to/music]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does import _path_ do in beets?

Import music files into the library.