dir: add page (#6817)

beep
Amarjeet Sinha 2021-10-06 17:26:50 +05:30 committed by GitHub
parent 02bb89332e
commit cd7a06ae80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
pages/linux/dir.md Normal file
View File

@ -0,0 +1,25 @@
# dir
> List directory contents using one line per file, special characters are represented by backslash escape sequences.
> Works as `ls -C --escape`.
> More information: <https://manned.org/dir>.
- List all files, including hidden files:
`dir -all`
- List files including their author (`-l` is required):
`dir -l --author`
- List files excluding those that match a specified blob pattern:
`dir --hide={{pattern}}`
- List subdirectories recursively:
`dir --recursive`
- Display help:
`dir --help`