1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.zh/common/file.md
Managor a70b923d8f
*: add option placeholders to translations (#15933)
Co-authored-by: Darío Hereñú <magallania@gmail.com>
2025-03-19 00:36:34 +02:00

607 B

file

确定文件类型。 更多信息:https://manned.org/file.

  • 提供指定文件类型的描述,对于没有文件扩展名的文件可以正常工作:

file {{文件名}}

  • 查看压缩文件并确定其中的文件类型:

file {{[-z|--uncompress]}} {{xxx.zip}}

  • 允许文件与特殊文件或设备文件一起使用:

file {{[-s|--special-files]}} {{文件名}}

  • 不要在第一个文件类型匹配时停止;继续执行直到文件结束:

file {{[-k|--keep-going]}} {{文件名}}

  • 确定文件的 MIME 编码类型:

file {{[-i|--mime]}} {{文件名}}