2015-11-19 12:42:30 +00:00
|
|
|
.hy
|
2017-07-07 10:47:47 +00:00
|
|
|
.TH "exa" "1" "2017\-07\-07" "exa 0.7.0" ""
|
2015-06-07 15:45:58 +00:00
|
|
|
.SH NAME
|
2015-11-19 12:42:30 +00:00
|
|
|
.PP
|
|
|
|
exa \- a modern replacement for ls
|
2015-06-07 15:45:58 +00:00
|
|
|
.SH SYNOPSIS
|
2015-11-19 12:42:30 +00:00
|
|
|
.PP
|
|
|
|
exa [\f[I]options\f[]] [\f[I]files\f[]]...
|
2015-06-07 15:45:58 +00:00
|
|
|
.SH DESCRIPTION
|
2015-11-19 12:42:30 +00:00
|
|
|
.PP
|
|
|
|
\f[C]exa\f[] is a modern replacement for \f[C]ls\f[].
|
|
|
|
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 \f[C]ls\f[], such
|
|
|
|
as viewing the Git status for a directory, or recursing into directories
|
|
|
|
with a tree view.
|
|
|
|
.SH DISPLAY OPTIONS
|
|
|
|
.TP
|
|
|
|
.B \-1, \-\-oneline
|
|
|
|
display one entry per line
|
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-G, \-\-grid
|
2017-05-06 22:00:45 +00:00
|
|
|
display entries as a grid (default)
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-l, \-\-long
|
2017-05-06 22:00:45 +00:00
|
|
|
display extended file metadata as a table
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B \-x, \-\-across
|
|
|
|
sort the grid across, rather than downwards
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-R, \-\-recurse
|
2015-06-07 15:45:58 +00:00
|
|
|
recurse into directories
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-T, \-\-tree
|
2017-05-06 22:00:45 +00:00
|
|
|
recurse into directories as a tree
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2017-05-06 22:00:45 +00:00
|
|
|
.B \-\-color, \-\-colour=\f[I]WHEN\f[]
|
|
|
|
when to use terminal colours (always, automatic, never)
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2017-05-06 22:00:45 +00:00
|
|
|
.B \-\-color-scale, \-\-colour-scale
|
|
|
|
highlight levels of file sizes distinctly
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.SH FILTERING AND SORTING OPTIONS
|
|
|
|
.TP
|
|
|
|
.B \-a, \-\-all
|
2017-06-29 12:24:55 +00:00
|
|
|
show hidden and \[aq]dot\[aq] files.
|
|
|
|
Use this twice to also show the \f[C].\f[] and \f[C]..\f[] directories.
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B \-d, \-\-list\-dirs
|
2017-05-06 22:00:45 +00:00
|
|
|
list directories like regular files
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-r, \-\-reverse
|
2017-05-06 22:00:45 +00:00
|
|
|
reverse the sort order
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B \-s, \-\-sort=\f[I]SORT_FIELD\f[]
|
|
|
|
which field to sort by.
|
2017-06-29 13:57:43 +00:00
|
|
|
Valid fields are name, Name, extension, Extension, size, modified, accessed, created, inode, type, and none.
|
2017-05-06 22:00:45 +00:00
|
|
|
Fields starting with a capital letter are case-sensitive.
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2017-05-06 22:00:45 +00:00
|
|
|
.B \-I, \-\-ignore\-glob=\f[I]GLOBS\f[]
|
|
|
|
Glob patterns, pipe-separated, of files to ignore
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-\-group\-directories\-first
|
|
|
|
list directories before other files
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.SH LONG VIEW OPTIONS
|
2015-11-19 13:21:31 +00:00
|
|
|
.PP
|
|
|
|
These options are available when running with \f[C]\-\-long\f[]
|
|
|
|
(\f[C]\-l\f[]):
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-b, \-\-binary
|
2017-05-06 22:00:45 +00:00
|
|
|
list file sizes with binary prefixes
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-B, \-\-bytes
|
2017-05-06 22:00:45 +00:00
|
|
|
list file sizes in bytes, without any prefixes
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-g, \-\-group
|
2017-05-06 22:00:45 +00:00
|
|
|
list each file\[aq]s group
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-h, \-\-header
|
2017-05-06 22:00:45 +00:00
|
|
|
add a header row to each column
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-H, \-\-links
|
2017-05-06 22:00:45 +00:00
|
|
|
list each file\[aq]s number of hard links
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-i, \-\-inode
|
2017-05-06 22:00:45 +00:00
|
|
|
list each file\[aq]s inode number
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-L, \-\-level=\f[I]DEPTH\f[]
|
2017-05-06 22:00:45 +00:00
|
|
|
limit the depth of recursion
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-m, \-\-modified
|
2017-05-06 22:00:45 +00:00
|
|
|
use the modified timestamp field
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-S, \-\-blocks
|
2017-05-06 22:00:45 +00:00
|
|
|
list each file\[aq]s number of file system blocks
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-t, \-\-time=\f[I]WORD\f[]
|
2017-05-06 22:00:45 +00:00
|
|
|
which timestamp field to list (modified, accessed, created)
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2017-07-05 23:52:27 +00:00
|
|
|
.B \-\-time\-style=\f[I]STYLE\f[]
|
|
|
|
how to format timestamps (default, iso, long-iso, full-iso)
|
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-u, \-\-accessed
|
2017-05-06 22:00:45 +00:00
|
|
|
use the accessed timestamp field
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-06-07 15:45:58 +00:00
|
|
|
.TP
|
2015-11-19 12:42:30 +00:00
|
|
|
.B \-U, \-\-created
|
2017-05-06 22:00:45 +00:00
|
|
|
use the created timestamp field
|
2015-11-19 12:42:30 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-11-19 13:21:31 +00:00
|
|
|
.TP
|
|
|
|
.B \-\@, \-\-extended
|
2017-05-06 22:00:45 +00:00
|
|
|
list each file\[aq]s extended attributes and sizes
|
2015-11-19 13:21:31 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
|
|
|
.TP
|
|
|
|
.B \-\-git
|
2017-05-06 22:00:45 +00:00
|
|
|
list each file\[aq]s Git status, if tracked
|
2015-11-19 13:21:31 +00:00
|
|
|
.RS
|
|
|
|
.RE
|
2015-11-19 12:42:30 +00:00
|
|
|
.SH EXAMPLES
|
|
|
|
.PP
|
2015-06-07 15:45:58 +00:00
|
|
|
To display a list of files, with the largest at the top:
|
2015-11-19 12:42:30 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
exa\ \-\-reverse\ \-\-sort=size
|
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.PP
|
2015-06-07 15:45:58 +00:00
|
|
|
To display a tree of files, three levels deep:
|
2015-11-19 12:42:30 +00:00
|
|
|
.IP
|
|
|
|
.nf
|
|
|
|
\f[C]
|
|
|
|
exa\ \-\-long\ \-\-tree\ \-\-level=3
|
|
|
|
\f[]
|
|
|
|
.fi
|
|
|
|
.SH AUTHOR
|
|
|
|
.PP
|
|
|
|
\f[C]exa\f[] is maintained by Benjamin \[aq]ogham\[aq] Sago and many
|
|
|
|
other contributors.
|
|
|
|
You can view the full list at
|
|
|
|
<https://github.com/ogham/exa/graphs/contributors>.
|