---
syntax: markdown
tags: [tldr, osx]
source: https://github.com/tldr-pages/tldr.git
---
# afinfo

> Audio file metadata parser for OS X.
> Built-in command of OS X.
> More information: <https://keith.github.io/xcode-man-pages/afinfo.1.html>.

- Display info of a given audio file:

`afinfo {{path/to/file}}`

- Print a one line description of the audio file:

`afinfo --brief {{path/to/file}}`

- Print metadata info and contents of the audio file's InfoDictionary:

`afinfo --info {{path/to/file}}`

- Print output in XML format:

`afinfo --xml {{path/to/file}}`

- Print warnings for the audio file if any:

`afinfo --warnings {{path/to/file}}`

- Display help:

`afinfo --help`
