lsd(1) User Manual lsd(1)

lsd - LSDeluxe

lsd [FLAGS] [OPTIONS] [--] [FILE]...

lsd is a ls command with a lot of pretty colours and some other stuff to enrich and enhance the directory listing experience.

Do not ignore entries starting with .
Do not list implied . and ..
Enable classic mode (no colours or icons)
When showing file information for a symbolic link, show information for the file the link references rather than for the link itself
Display directories themselves, and not their contents (recursively when used with –tree)
Sort by file extension
Display git status. Directory git status is a reduction of included file statuses (recursively).
Prints help information
For ls compatibility purposes ONLY, currently set by default
Ignore the configuration file
Provide the config file from a custom location
Append indicator (one of */=>@|) at the end of the file names
Display the index number of each file
Display extended file metadata as a table
Do not display symlink target
-1, --oneline
Display one entry per line
Recurse into directories
Reverse the order of the sort
Sort by size
Sort by time modified
Display the total size of directories
Recurse into directories and present the result as a tree
Prints version information
Natural sort of (version) numbers within text
Specify the blocks that will be displayed and in what order [possible values: permission, user, group, size, date, name, inode, git]
When to use terminal colours [default: auto] [possible values: always, auto, never]
How to display date [possible values: date, locale, relative, +date-time-format] [default: date]
Stop recursing into directories after reaching specified depth
Sort the directories then the files [default: none] [possible values: none, first, last]
Groups the directories at the top before the files. Same as --group-dirs=first
Attach hyperlink to filenames [default: never] [possible values: always, auto, never]
When to print the icons [default: auto] [possible values: always, auto, never]
Whether to use fancy or unicode icons [default: fancy] [possible values: fancy, unicode]
Do not display files/directories with names matching the glob pattern(s). More than one can be specified by repeating the argument [default: ]
How to display permissions [default: rwx for linux, attributes for windows] [possible values: rwx, octal, attributes, disable]
How to display size [default: default] [possible values: default, short, bytes]
Sort by WORD instead of name [possible values: size, time, version, extension, git]
Do not sort. List entries in directory order
Display SELinux or SMACK security context
Display block headers
Print entry names without quoting
Truncate the user and group names if they exceed a certain number of characters
Truncation marker appended to a truncated user or group name

<FILE>...
A file or directory to list [default: .]

Display listing for current directory
Display listing of /etc
Display listing of current directory, including files starting with . and the current directory’s entry.

Used to determine color for displaying filenames. See dir_colors.
Used to locate optional config file. If XDG_CONFIG_HOME is set, use $XDG_CONFIG_HOME/lsd/config.yaml else $HOME/.config/lsd/config.yaml.
Used to specify the directory for generating a shell completions file. If neither are set, no completions file will be generated. The directory will be created if it does not exist.
lsd