.\" Automatically generated by Pandoc 2.17.1.1 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "exa" "1" "" "v0.9.0" "" .hy .SH NAME .PP exa \[em] a modern replacement for ls .SH SYNOPSIS .PP \f[V]exa [options] [files...]\f[R] .PP \f[B]exa\f[R] is a modern replacement for \f[V]ls\f[R]. 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. .PP It also has extra features not present in the original \f[V]ls\f[R], such as viewing the Git status for a directory, or recursing into directories with a tree view. .SH EXAMPLES .TP \f[V]exa\f[R] Lists the contents of the current directory in a grid. .TP \f[V]exa --oneline --reverse --sort=size\f[R] Displays a list of files with the largest at the top. .TP \f[V]exa --long --header --inode --git\f[R] Displays a table of files with a header, showing each file\[cq]s metadata, inode, and Git status. .TP \f[V]exa --long --tree --level=3\f[R] Displays a tree of files, three levels deep, as well as each file\[cq]s metadata. .SH DISPLAY OPTIONS .TP \f[V]-1\f[R], \f[V]--oneline\f[R] Display one entry per line. .TP \f[V]-F\f[R], \f[V]--classify\f[R] Display file kind indicators next to file names. .TP \f[V]-G\f[R], \f[V]--grid\f[R] Display entries as a grid (default). .TP \f[V]-l\f[R], \f[V]--long\f[R] Display extended file metadata as a table. .TP \f[V]-R\f[R], \f[V]--recurse\f[R] Recurse into directories. .TP \f[V]-T\f[R], \f[V]--tree\f[R] Recurse into directories as a tree. .TP \f[V]-x\f[R], \f[V]--across\f[R] Sort the grid across, rather than downwards. .TP \f[V]--color\f[R], \f[V]--colour=WHEN\f[R] When to use terminal colours. Valid settings are `\f[V]always\f[R]', `\f[V]automatic\f[R]', and `\f[V]never\f[R]'. .TP \f[V]--color-scale\f[R], \f[V]--colour-scale\f[R] Colour file sizes on a scale. .TP \f[V]--icons\f[R] Display icons next to file names. .TP \f[V]--no-icons\f[R] Don\[cq]t display icons. (Always overrides \[en]icons) .SH FILTERING AND SORTING OPTIONS .TP \f[V]-a\f[R], \f[V]--all\f[R] Show hidden and \[lq]dot\[rq] files. Use this twice to also show the `\f[V].\f[R]' and `\f[V]..\f[R]' directories. .TP \f[V]-d\f[R], \f[V]--list-dirs\f[R] List directories as regular files, rather than recursing and listing their contents. .TP \f[V]-L\f[R], \f[V]--level=DEPTH\f[R] Limit the depth of recursion. .TP \f[V]-r\f[R], \f[V]--reverse\f[R] Reverse the sort order. .TP \f[V]-s\f[R], \f[V]--sort=SORT_FIELD\f[R] Which field to sort by. .PP Valid sort fields are `\f[V]name\f[R]', `\f[V]Name\f[R]', `\f[V]extension\f[R]', `\f[V]Extension\f[R]', `\f[V]size\f[R]', `\f[V]modified\f[R]', `\f[V]changed\f[R]', `\f[V]accessed\f[R]', `\f[V]created\f[R]', `\f[V]inode\f[R]', `\f[V]type\f[R]', and `\f[V]none\f[R]'. .PP The \f[V]modified\f[R] sort field has the aliases `\f[V]date\f[R]', `\f[V]time\f[R]', and `\f[V]newest\f[R]', and its reverse order has the aliases `\f[V]age\f[R]' and `\f[V]oldest\f[R]'. .PP 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'. .TP \f[V]-I\f[R], \f[V]--ignore-glob=GLOBS\f[R] Glob patterns, pipe-separated, of files to ignore. .TP \f[V]--git-ignore\f[R] [if exa was built with git support] Do not list files that are ignored by Git. .TP \f[V]--group-directories-first\f[R] List directories before other files. .TP \f[V]-D\f[R], \f[V]--only-dirs\f[R] List only directories, not files. .SH LONG VIEW OPTIONS .PP These options are available when running with \f[V]--long\f[R] (\f[V]-l\f[R]): .TP \f[V]-b\f[R], \f[V]--binary\f[R] List file sizes with binary prefixes. .TP \f[V]-B\f[R], \f[V]--bytes\f[R] List file sizes in bytes, without any prefixes. .TP \f[V]--changed\f[R] Use the changed timestamp field. .TP \f[V]-g\f[R], \f[V]--group\f[R] List each file\[cq]s group. .TP \f[V]-h\f[R], \f[V]--header\f[R] Add a header row to each column. .TP \f[V]-H\f[R], \f[V]--links\f[R] List each file\[cq]s number of hard links. .TP \f[V]-i\f[R], \f[V]--inode\f[R] List each file\[cq]s inode number. .TP \f[V]-m\f[R], \f[V]--modified\f[R] Use the modified timestamp field. .TP \f[V]-n\f[R], \f[V]--numeric\f[R] List numeric user and group IDs. .TP \f[V]-S\f[R], \f[V]--blocks\f[R] List each file\[cq]s number of file system blocks. .TP \f[V]-t\f[R], \f[V]--time=WORD\f[R] Which timestamp field to list. Valid timestamp fields are `\f[V]modified\f[R]', `\f[V]changed\f[R]', `\f[V]accessed\f[R]', and `\f[V]created\f[R]'. .TP \f[V]--time-style=STYLE\f[R] How to format timestamps. Valid timestamp styles are `\f[V]default\f[R]', `\f[V]iso\f[R]', `\f[V]long-iso\f[R]', and `\f[V]full-iso\f[R]'. .TP \f[V]-u\f[R], \f[V]--accessed\f[R] Use the accessed timestamp field. .TP \f[V]-U\f[R], \f[V]--created\f[R] Use the created timestamp field. .TP \f[V]--no-permissions\f[R] Suppress the permissions field. .TP \f[V]--no-filesize\f[R] Suppress the file size field. .TP \f[V]--no-user\f[R] Suppress the user field. .TP \f[V]--no-time\f[R] Suppress the time field. .TP \f[V]-\[at]\f[R], \f[V]--extended\f[R] List each file\[cq]s extended attributes and sizes. .TP \f[V]--git\f[R] [if exa was built with git support] List each file\[cq]s Git status, if tracked. .PP This adds a two-character column indicating the staged and unstaged statuses respectively. The status character can be `\f[V]-\f[R]' for not modified, `\f[V]M\f[R]' for a modified file, `\f[V]N\f[R]' for a new file, `\f[V]D\f[R]' for deleted, `\f[V]R\f[R]' for renamed, `\f[V]T\f[R]' for type-change, `\f[V]I\f[R]' for ignored, and `\f[V]U\f[R]' for conflicted. .PP Directories will be shown to have the status of their contents, which is how `deleted' is possible: if a directory contains a file that has a certain status, it will be shown to have that status. .SH ENVIRONMENT VARIABLES .PP exa responds to the following environment variables: .SS \f[V]COLUMNS\f[R] .PP Overrides the width of the terminal, in characters. .PP For example, `\f[V]COLUMNS=80 exa\f[R]' will show a grid view with a maximum width of 80 characters. .PP This option won\[cq]t do anything when exa\[cq]s output doesn\[cq]t wrap, such as when using the \f[V]--long\f[R] view. .SS \f[V]EXA_STRICT\f[R] .PP Enables \f[I]strict mode\f[R], which will make exa error when two command-line options are incompatible. .PP Usually, options can override each other going right-to-left on the command line, so that exa can be given aliases: creating an alias `\f[V]exa=exa --sort=ext\f[R]' then running `\f[V]exa --sort=size\f[R]' with that alias will run `\f[V]exa --sort=ext --sort=size\f[R]', and the sorting specified by the user will override the sorting specified by the alias. .PP In strict mode, the two options will not co-operate, and exa will error. .PP This option is intended for use with automated scripts and other situations where you want to be certain you\[cq]re typing in the right command. .SS \f[V]EXA_GRID_ROWS\f[R] .PP Limits the grid-details view (`\f[V]exa --grid --long\f[R]') so it\[cq]s only activated when at least the given number of rows of output would be generated. .PP With widescreen displays, it\[cq]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\[cq]s going to be worth using. .SS \f[V]EXA_ICON_SPACING\f[R] .PP Specifies the number of spaces to print between an icon (see the `\f[V]--icons\f[R]' option) and its file name. .PP Different terminals display icons differently, as they usually take up more than one character width on screen, so there\[cq]s no \[lq]standard\[rq] number of spaces that exa 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. .SS \f[V]LS_COLORS\f[R], \f[V]EXA_COLORS\f[R] .PP Specifies the colour scheme used to highlight files based on their name and kind, as well as highlighting metadata and parts of the UI. .PP For more information on the format of these environment variables, see the \f[V]exa_colors(5)\f[R] manual page. .SH EXIT STATUSES .TP 0 If everything goes OK. .TP 1 If there was an I/O error during operation. .TP 3 If there was a problem with the command-line arguments. .SH AUTHOR .PP exa is maintained by Benjamin `ogham' Sago and many other contributors. .PP \f[B]Website:\f[R] \f[V]https://the.exa.website/\f[R] .PD 0 .P .PD \f[B]Source code:\f[R] \f[V]https://github.com/ogham/exa\f[R] .PD 0 .P .PD \f[B]Contributors:\f[R] \f[V]https://github.com/ogham/exa/graphs/contributors\f[R] .SH SEE ALSO .IP \[bu] 2 \f[V]exa_colors(5)\f[R]