Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

29
tldr/file Normal file
View File

@@ -0,0 +1,29 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# file
> Determine file type.
> More information: <https://manned.org/file>.
- Give a description of the type of the specified file. Works fine for files with no file extension:
`file {{path/to/file}}`
- Look inside a zipped file and determine the file type(s) inside:
`file -z {{foo.zip}}`
- Allow file to work with special or device files:
`file -s {{path/to/file}}`
- Don't stop at first file type match; keep going until the end of the file:
`file -k {{path/to/file}}`
- Determine the MIME encoding type of a file:
`file -i {{path/to/file}}`