eza(1) | eza(1) |
eza — a modern replacement for ls
eza [options] [files...]
eza is a modern replacement for ls. It uses colours for information by default, helping you distinguish between many types of files, such as whether you are the owner, or in the owning group.
It also has extra features not present in the original ls, such as viewing the Git status for a directory, or recursing into directories with a tree view.
Valid settings are `always', `automatic' (or `auto' for short), and `never'. The default value is `automatic'.
The default behavior (automatic or auto) will display file kind indicators only when the standard output is connected to a real terminal. If eza is ran while in a tty, or the output of eza is either redirected to a file or piped into another program, file kind indicators will not be used. Setting this option to `always' causes eza to always display file kind indicators, while `never' disables the use of file kind indicators.
Valid settings are `always', `automatic' (or `auto' for short), and `never'. The default value is `automatic'.
The default behavior (`automatic' or `auto') is to colorize the output only when the standard output is connected to a real terminal. If the output of eza is redirected to a file or piped into another program, terminal colors will not be used. Setting this option to `always' causes eza to always output terminal color, while `never' disables the use of terminal color.
Manually setting this option overrides NO_COLOR environment.
Valid options are fixed or gradient. The default value is gradient.
Valid settings are `always', `automatic' (`auto' for short), and `never'. The default value is `automatic'.
automatic or auto will display icons only when the standard output is connected to a real terminal. If eza is ran while in a tty, or the output of eza is either redirected to a file or piped into another program, icons will not be used. Setting this option to `always' causes eza to always display icons, while `never' disables the use of icons.
Valid options are none, absolute or relative. The default value is none
absolute mode highlights based on file modification time relative to the past year. relative mode highlights based on file modification time in relation to other files. none disables highlighting.
Valid sort fields are `name', `Name', `extension', `Extension', `size', `modified', `changed', `accessed', `created', `inode', `type', and `none'.
The modified sort field has the aliases `date', `time', and `newest', and its reverse order has the aliases `age' and `oldest'.
Sort fields starting with a capital letter will sort uppercase before lowercase: `A' then `B' then `a' then `b'. Fields starting with a lowercase letter will mix them: `A' then `a' then `B' then `b'.
These options are available when running with --long (-l):
<FORMAT> should be a chrono format string. For details on the chrono format syntax, please read: https://docs.rs/chrono/latest/chrono/format/strftime/index.html .
Alternatively, <FORMAT> can be a two line string, the first line will be used for non-recent files and the second for recent files. E.g., if <FORMAT> is “%Y-%m-%d %H<newline>--%m-%d %H:%M”, non-recent files => “2022-12-30 13”, recent files => “--09-30 13:34”.
If an environment variable prefixed with EZA_ is not set, for backward compatibility, it will default to its counterpart starting with EXA_.
eza responds to the following environment variables:
Overrides the width of the terminal, in characters, however, -w takes precedence.
For example, `COLUMNS=80 eza' will show a grid view with a maximum width of 80 characters.
This option won’t do anything when eza’s output doesn’t wrap, such as when using the --long view.
Enables strict mode, which will make eza error when two command-line options are incompatible.
Usually, options can override each other going right-to-left on the command line, so that eza can be given aliases: creating an alias `eza=eza --sort=ext' then running `eza --sort=size' with that alias will run `eza --sort=ext --sort=size', and the sorting specified by the user will override the sorting specified by the alias.
In strict mode, the two options will not co-operate, and eza will error.
This option is intended for use with automated scripts and other situations where you want to be certain you’re typing in the right command.
Limits the grid-details view (`eza --grid --long') so it’s only activated when at least the given number of rows of output would be generated.
With widescreen displays, it’s possible for the grid to look very wide and sparse, on just one or two lines with none of the columns lining up. By specifying a minimum number of rows, you can only use the view if it’s going to be worth using.
Specifies the number of spaces to print between an icon (see the `--icons' option) and its file name.
Different terminals display icons differently, as they usually take up more than one character width on screen, so there’s no “standard” number of spaces that eza can use to separate an icon from text. One space may place the icon too close to the text, and two spaces may place it too far away. So the choice is left up to the user to configure depending on their terminal emulator.
Disables colours in the output (regardless of its value). Can be overridden by --color option.
See https://no-color.org/ for details.
Specifies the colour scheme used to highlight files based on their name and kind, as well as highlighting metadata and parts of the UI.
For more information on the format of these environment variables, see the eza_colors.5.md manual page.
Overrides any --git or --git-repos argument
Specifies the minimum luminance to use when decay is active. It’s value can be between -100 to 100.
If set, automates the same behavior as using --icons or --icons=auto. Useful for if you always want to have icons enabled.
Any explicit use of the --icons=WHEN flag overrides this behavior.
Specifies the separator to use when file names are piped from stdin. Defaults to newline.
eza is maintained by Christina Sørensen and many other contributors.
Source code: https://github.com/eza-community/eza
Contributors: https://github.com/eza-community/eza/graphs/contributors
Our infinite thanks to Benjamin `ogham' Sago and all the other contributors of exa, from which eza was forked.
$version |