Forrest logo
back to the afinfo tool

afinfo:tldr:b7700

afinfo: Print metadata info and contents of the audio file's InfoDictionary.
$ afinfo --info ${filename}
try on your machine

The afinfo command is a utility in macOS that provides information about audio files. It allows users to retrieve specific audio file details such as format, duration, and bit rate.

The command afinfo --info ${filename} is used to obtain detailed information about a specific audio file. The ${filename} is a placeholder that represents the actual name of the audio file you want to extract information from.

By executing this command in the terminal, the afinfo utility will analyze the provided audio file and display various details associated with it. These details may include the audio format (e.g., WAV, MP3, AAC), sample rate, number of channels, bit depth, duration, and other metadata.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the afinfo tool