vdir
Options
--help-
ls-help-print-help
--format-
ls-help-set-display-format
-C-
ls-help-display-files-columns
--long,-l-
ls-help-display-detailed-info
-x-
ls-help-list-entries-rows
--tabsize=<COLS>,-T <COLS>-
ls-help-assume-tab-stops
-m-
ls-help-list-entries-commas
--zero-
ls-help-list-entries-nul
--dired,-D-
ls-help-generate-dired-output
--hyperlink=<WHEN>-
ls-help-hyperlink-filenames
-1-
ls-help-list-one-file-per-line
-o-
ls-help-long-format-no-group
-g-
ls-help-long-no-owner
--numeric-uid-gid,-n-
ls-help-long-numeric-uid-gid
--quoting-style-
ls-help-set-quoting-style
--literal,-N-
ls-help-literal-quoting-style
--escape,-b-
ls-help-escape-quoting-style
--quote-name,-Q-
ls-help-c-quoting-style
--hide-control-chars,-q-
ls-help-replace-control-chars
--show-control-chars-
ls-help-show-control-chars
--time=<field>-
ls-help-show-time-field
-c-
ls-help-time-change
-u-
ls-help-time-access
--hide=<PATTERN>-
ls-help-hide-pattern
--ignore=<PATTERN>,-I <PATTERN>-
ls-help-ignore-pattern
--ignore-backups,-B-
ls-help-ignore-backups
--sort=<field>-
ls-help-sort-by-field
-S-
ls-help-sort-by-size
-t-
ls-help-sort-by-time
-v-
ls-help-sort-by-version
-X-
ls-help-sort-by-extension
-U-
ls-help-sort-none
--dereference,-L-
ls-help-dereference-all
--dereference-command-line-symlink-to-dir-
ls-help-dereference-dir-args
--dereference-command-line,-H-
ls-help-dereference-args
--no-group,-G-
ls-help-no-group
--author-
ls-help-author
--all,-a-
ls-help-all-files
--almost-all,-A-
ls-help-almost-all
--directory,-d-
ls-help-directory
--human-readable,-h-
ls-help-human-readable
--kibibytes,-k-
ls-help-kibibytes
--si-
ls-help-si
--block-size=<BLOCK_SIZE>-
ls-help-block-size
--inode,-i-
ls-help-print-inode
--reverse,-r-
ls-help-reverse-sort
--recursive,-R-
ls-help-recursive
--width=<COLS>,-w <COLS>-
ls-help-terminal-width
--size,-s-
ls-help-allocation-size
--color-
ls-help-color-output
--indicator-style-
ls-help-indicator-style
--classify=<when>,-F <when>-
ls-help-classify
--file-type-
ls-help-file-type
-p-
ls-help-slash-directories
--time-style=<TIME_STYLE>-
ls-help-time-style
--full-time-
ls-help-full-time
--context,-Z-
ls-help-context
--group-directories-first-
ls-help-group-directories-first
Examples
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|--human-readable]}}
List including hidden files (starting with a dot):
vdir {{[-a|--all]}}
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 {{[-R|--recursive]}} {{path/to/directory}}
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.