afinfo: add page (en, zh) (#3652)

This commit is contained in:
Gary Li 2019-12-10 02:29:33 -08:00 committed by Zlatan Vasović
parent 0e8cbcac0c
commit 8df38c3989
2 changed files with 56 additions and 0 deletions

28
pages.zh/osx/afinfo.md Normal file
View File

@ -0,0 +1,28 @@
# afinfo
> 显示音频文件元数据 (Metadata) 详细信息 (OS X).
> OS X 自带命令.
- 显示给定音频文件的详细信息:
`afinfo {{目标 / 路径 / 文件}}`
- 显示简化的音频文件信息 (单行):
`afinfo -b {{目标 / 路径 / 文件}}`
- 显示音频文件的元数据信息以及其 InfoDictionary 词典:
`afinfo -i {{目标 / 路径 / 文件}}`
- 以 xml 格式显示音频文件信息:
`afinfo -x {{目标 / 路径 / 文件}}`
- 显示警告信息 (如存在):
`afinfo --warnings {{目标 / 路径 / 文件}}`
- 显示完整用法帮助:
`afinfo -h`

28
pages/osx/afinfo.md Normal file
View File

@ -0,0 +1,28 @@
# afinfo
> Audio file metadata parser for OS X.
> Built-in command of OS X.
- Display info of a given audio file:
`afinfo {{path/to/file}}`
- Print a one line description of the audio file:
`afinfo -b {{path/to/file}}`
- Print metadata info and contents of the audio file's InfoDictionary:
`afinfo -i {{path/to/file}}`
- Print output in xml format:
`afinfo -x {{path/to/file}}`
- Print warnings for the audio file if any:
`afinfo --warnings {{path/to/file}}`
- Display help for full usage:
`afinfo -h`