dir
List directory contents using one line per file, special characters are represented by backslash escape sequences.
Works as `ls -C --escape`.
- 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
dir --help
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).