metaflac
View and edit metadata in FLAC audio files. tldr-pages
On several platforms
Several platforms
Show all tags in a FLAC file
metaflac --show-all-tags path/to/file.flacIdentifyShow one or more specific tags from a FLAC file
metaflac --show-tag tag_name1 --show-tag tag_name2 path/to/file.flacIdentifySet a tag in a FLAC file
metaflac --set-tag "tag_name=tag_value" path/to/file.flacIdentifyRemove all tags with a specific name from a FLAC file
metaflac --remove-tag tag_name path/to/file.flacIdentifyRemove all tags from a FLAC file
metaflac --remove-all-tags path/to/file.flacIdentifyImport tags from a file (one NAME=VALUE pair per line)
metaflac --import-tags-from path/to/tags.txt path/to/file.flacIdentifyList all metadata blocks in a FLAC file
metaflac --list path/to/file.flacIdentifyShow the sample rate and number of channels from a FLAC file
metaflac --show-sample-rate --show-channels path/to/file.flacIdentify