2021-10-06 17:26:50 +05:30
|
|
|
# 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:
|
|
|
|
|
2024-08-13 00:42:15 +02:00
|
|
|
`dir --all`
|
2021-10-06 17:26:50 +05:30
|
|
|
|
|
|
|
- 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`
|