mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-07 01:26:03 +02:00
vdir: add page (#2781)
This commit is contained in:
parent
f3d7ddd622
commit
6cf1623348
1 changed files with 32 additions and 0 deletions
32
pages/common/vdir.md
Normal file
32
pages/common/vdir.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# vdir
|
||||
|
||||
> List directory contents.
|
||||
> Drop-in replacement for `ls -l`.
|
||||
|
||||
- List files and directories in the current directory, one per line, with details:
|
||||
|
||||
`vdir`
|
||||
|
||||
- List with sizes displayed in human readable units (KB, MB, GB):
|
||||
|
||||
`vdir -h`
|
||||
|
||||
- List including hidden files (starting with a dot):
|
||||
|
||||
`vdir -a`
|
||||
|
||||
- List files and directories sorting entries by size (largest first):
|
||||
|
||||
`vdir -S`
|
||||
|
||||
- List files and directories sorting entries by modification time (newest first):
|
||||
|
||||
`vdir -t`
|
||||
|
||||
- List grouping directories first:
|
||||
|
||||
`vdir --group-directories-first`
|
||||
|
||||
- Recursively list all files and directories in a specific directory:
|
||||
|
||||
`vdir --recursive {{path/to/directory}}`
|
Loading…
Add table
Reference in a new issue