Forrest logo
back to the afinfo tool

afinfo:tldr:2cec0

afinfo: Display info of a given audio file.
$ afinfo ${filename}
try on your machine

The command "afinfo ${filename}" is used to display audio file information on macOS. Here's a breakdown of the command and its components: - "afinfo" is the command itself, which stands for "Audio File Info."

  • "${filename}" is a placeholder for the actual file name or path. The "${}" is a technique used to substitute variables in shell commands. When you run this command and replace "${filename}" with the actual file name or path, it will retrieve and display various information about the audio file, including: - File type and format
  • Duration
  • Bitrate
  • Sample rate
  • Number of channels
  • Audio data format
  • Data offset
  • Total bytes This command can be helpful when you need to gather detailed information about an audio file quickly.
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