add new chinese translations
This commit is contained in:
32
pages.zh/linux/mimetype.md
Normal file
32
pages.zh/linux/mimetype.md
Normal file
@@ -0,0 +1,32 @@
|
||||
# mimetype
|
||||
|
||||
> 自动确定文件的 MIME 类型。
|
||||
> 更多信息:<https://manned.org/mimetype>。
|
||||
|
||||
- 打印给定文件的 MIME 类型:
|
||||
|
||||
`mimetype {{path/to/file}}`
|
||||
|
||||
- 仅显示 MIME 类型,而不显示文件名:
|
||||
|
||||
`mimetype --brief {{path/to/file}}`
|
||||
|
||||
- 显示 MIME 类型的描述:
|
||||
|
||||
`mimetype --describe {{path/to/file}}`
|
||||
|
||||
- 确定 `stdin` 的 MIME 类型(不检查文件名):
|
||||
|
||||
`{{command}} | mimetype --stdin`
|
||||
|
||||
- 显示有关 MIME 类型确定方式的调试信息:
|
||||
|
||||
`mimetype --debug {{path/to/file}}`
|
||||
|
||||
- 按可信度顺序显示给定文件的所有可能 MIME 类型:
|
||||
|
||||
`mimetype --all {{path/to/file}}`
|
||||
|
||||
- 明确指定输出的 2 字母语言代码:
|
||||
|
||||
`mimetype --language {{path/to/file}}`
|
Reference in New Issue
Block a user