metaflac
TLDR
List all metadata
$ metaflac --list [file.flac]
Show all tags$ metaflac --export-tags-to=- [file.flac]
Set tag value$ metaflac --set-tag="[ARTIST=Name]" [file.flac]
Remove tag$ metaflac --remove-tag="[COMMENT]" [file.flac]
Import tags from file$ metaflac --import-tags-from=[tags.txt] [file.flac]
Export cover art$ metaflac --export-picture-to=[cover.jpg] [file.flac]
Import cover art$ metaflac --import-picture-from=[cover.jpg] [file.flac]
SYNOPSIS
metaflac [options] files...
DESCRIPTION
metaflac is the command-line FLAC metadata editor. It can list, add, remove, and modify metadata in FLAC files including Vorbis comments and embedded pictures.
metaflac operates without re-encoding the audio data.
PARAMETERS
--list
List metadata blocks.--export-tags-to file
Export tags.--import-tags-from file
Import tags.--set-tag tag=value
Set tag.--remove-tag tag
Remove tag.--remove-all-tags
Remove all tags.--export-picture-to file
Export artwork.--import-picture-from file
Import artwork.
TAG FORMAT
$ # tags.txt
ARTIST=Artist Name
ALBUM=Album Name
TITLE=Track Title
TRACKNUMBER=01
ARTIST=Artist Name
ALBUM=Album Name
TITLE=Track Title
TRACKNUMBER=01
CAVEATS
Only works with FLAC files. Changes are immediate (no undo). Case-insensitive tag names. Picture imports need proper MIME type.
HISTORY
metaflac is part of the FLAC project created by Josh Coalson in 2000 as a free lossless audio codec.


