From e61652e4be9cc7e0cc410fc5216817464620e547 Mon Sep 17 00:00:00 2001 From: wizarot Date: Tue, 26 Feb 2019 11:13:08 +0800 Subject: [PATCH] file: add Chinese translation --- pages.zh/osx/file.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages.zh/osx/file.md diff --git a/pages.zh/osx/file.md b/pages.zh/osx/file.md new file mode 100644 index 0000000000..3299a4f6f5 --- /dev/null +++ b/pages.zh/osx/file.md @@ -0,0 +1,23 @@ +# file + +> 确定文件类型. + +- 提供指定文件类型的描述. 对于没有文件扩展名的文件可以正常工作: + +`file {{文件名}}` + +- 查看压缩文件并确定其中的文件类型: + +`file -z {{xxx.zip}}` + +- 允许文件与特殊文件或设备文件一起使用: + +`file -s {{文件名}}` + +- 不要在第一个文件类型匹配时停止; 继续执行直到文件结束: + +`file -k {{文件名}}` + +- 确定文件的mime编码类型: + +`file -I {{文件名}}`