SNDFILE-METADATA-GET(1)

πŸ’– sndfile-metadata-get β€” the manual page, but make it cute πŸ’–

okay bestie, so this is SNDFILE-METADATA-GET(1), from the General Commands Manual, and it's literally about peeking at (or writing) the metadata hidden inside your sound files. it's giving librarian energy but for audio. let's go ✨


🌸 NAME 🌸

sndfile-metadata-get, sndfile-metadata-set β€” get or set metadata in a sound file

no cap, that's the whole vibe. two little tools, one job: metadata in, metadata out πŸ’…


✨ SYNOPSIS ✨

sndfile-metadata-get [options] file
sndfile-metadata-set [options] file
sndfile-metadata-set [options] input output

like, three whole ways to call these. the third one is the spicy one β€” hold that thought 🫢


πŸŽ€ DESCRIPTION πŸŽ€

πŸ¦‹ sndfile-metadata-get

so sndfile-metadata-get displays bext and string metadata stored in an audio file. that's it, that's the whole job β€” it reads the little secret notes your audio file has been keeping πŸ“

the following options specify what to print:

  • --all β€” literally all the metadata. the whole buffet 🌈
  • --bext-description β€” description
  • --bext-originator β€” originator info
  • --bext-orig-ref β€” originator reference
  • --bext-umid β€” Unique Material Identifier
  • --bext-orig-date β€” origination date
  • --bext-orig-time β€” origination time
  • --bext-coding-hist β€” coding history
  • --str-title β€” title
  • --str-copyright β€” copyright
  • --str-artist β€” artist
  • --str-comment β€” comment
  • --str-date β€” creation date
  • --str-album β€” album
  • --str-license β€” license

🧚 sndfile-metadata-set

and sndfile-metadata-set sets bext and string metadata in an audio file β€” if the format supports it. that "if" is doing a lot of heavy lifting, bestie, so read carefully πŸ‘€

if the file does not contain a BEXT chunk to be modified, you must use the second synopsis, where another output file capable of storing the metadata is created. and heads up: this file is overwritten if it already exists. like, gone. poof. πŸ’€

the following options take an argument specifying the metadata:

  • --bext-description β€” description
  • --bext-originator β€” originator
  • --bext-orig-ref β€” originator reference
  • --bext-umid β€” Unique Material Identifier
  • --bext-orig-date β€” origination date
  • --bext-orig-time β€” origination time
  • --bext-coding-hist β€” coding history
  • --bext-time-raf β€” time reference
  • --str-comment β€” comment
  • --str-title β€” title
  • --str-copyright β€” copyright
  • --str-artist β€” artist
  • --str-date β€” date
  • --str-album β€” album
  • --str-license β€” license

and the following options take no argument (they're just lil switches, no notes needed):

  • --bext-auto-time-date β€” Set the BEXT time and date to current.
  • --bext-auto-time β€” Set the BEXT time to current.
  • --bext-auto-date β€” Set the BEXT date to current.
  • --str-auto-date β€” Set the string date to current.

see how there's --bext-orig-date and --bext-auto-date? yeah, one's a value you hand over, the other just snatches the current one. iconic, honestly πŸ‘‘


πŸ’… EXIT STATUS πŸ’…

the sndfile-metadata-get utility exits 0 on success, and >0 if an error occurs.

so 0 = we ate. >0 = something went wrong, crying in the group chat 😭


πŸ”₯ SEE ALSO πŸ”₯

go read them, iykyk πŸ“š


πŸ’œ AUTHORS πŸ’œ

Erik de Castro Lopo <erikd@mega-nerd.com>


and that's the whole page, bestie β€” this Debian edition dropped on November 2, 2014, and it's still serving. go forth and metadata responsibly πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from