dir: add page (#6817)

This commit is contained in:
Amarjeet Sinha
2021-10-06 17:26:50 +05:30
committed by GitHub
parent 02bb89332e
commit cd7a06ae80

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`