file: add Chinese translation
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
d11523189f
commit
e61652e4be
23
pages.zh/osx/file.md
Normal file
23
pages.zh/osx/file.md
Normal file
@@ -0,0 +1,23 @@
|
||||
# file
|
||||
|
||||
> 确定文件类型.
|
||||
|
||||
- 提供指定文件类型的描述. 对于没有文件扩展名的文件可以正常工作:
|
||||
|
||||
`file {{文件名}}`
|
||||
|
||||
- 查看压缩文件并确定其中的文件类型:
|
||||
|
||||
`file -z {{xxx.zip}}`
|
||||
|
||||
- 允许文件与特殊文件或设备文件一起使用:
|
||||
|
||||
`file -s {{文件名}}`
|
||||
|
||||
- 不要在第一个文件类型匹配时停止; 继续执行直到文件结束:
|
||||
|
||||
`file -k {{文件名}}`
|
||||
|
||||
- 确定文件的mime编码类型:
|
||||
|
||||
`file -I {{文件名}}`
|
Reference in New Issue
Block a user