exa/contrib/man/exa.1

189 lines
3.3 KiB
Groff
Raw Normal View History

.hy
.TH "exa" "1" "2017\-05\-06" "exa 0.5.0" ""
2015-06-07 15:45:58 +00:00
.SH NAME
.PP
exa \- a modern replacement for ls
2015-06-07 15:45:58 +00:00
.SH SYNOPSIS
.PP
exa [\f[I]options\f[]] [\f[I]files\f[]]...
2015-06-07 15:45:58 +00:00
.SH DESCRIPTION
.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
.B \-G, \-\-grid
display entries as a grid (default)
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-l, \-\-long
display extended file metadata as a table
.RS
.RE
.TP
.B \-x, \-\-across
sort the grid across, rather than downwards
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-R, \-\-recurse
2015-06-07 15:45:58 +00:00
recurse into directories
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-T, \-\-tree
recurse into directories as a tree
.RS
.RE
.TP
.B \-\-color, \-\-colour=\f[I]WHEN\f[]
when to use terminal colours (always, automatic, never)
.RS
.RE
.TP
.B \-\-color-scale, \-\-colour-scale
highlight levels of file sizes distinctly
.RS
.RE
.SH FILTERING AND SORTING OPTIONS
.TP
.B \-a, \-\-all
don\[aq]t hide hidden and \[aq]dot\[aq] files
.RS
.RE
.TP
.B \-d, \-\-list\-dirs
list directories like regular files
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-r, \-\-reverse
reverse the sort order
.RS
.RE
.TP
.B \-s, \-\-sort=\f[I]SORT_FIELD\f[]
which field to sort by.
Valid fields are name, Name, extension, Extension, size, modified, accessed, created, inode, and none.
Fields starting with a capital letter are case-sensitive.
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-I, \-\-ignore\-glob=\f[I]GLOBS\f[]
Glob patterns, pipe-separated, of files to ignore
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.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
.B \-b, \-\-binary
list file sizes with binary prefixes
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-B, \-\-bytes
list file sizes in bytes, without any prefixes
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-g, \-\-group
list each file\[aq]s group
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-h, \-\-header
add a header row to each column
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-H, \-\-links
list each file\[aq]s number of hard links
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-i, \-\-inode
list each file\[aq]s inode number
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-L, \-\-level=\f[I]DEPTH\f[]
limit the depth of recursion
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-m, \-\-modified
use the modified timestamp field
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-S, \-\-blocks
list each file\[aq]s number of file system blocks
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-t, \-\-time=\f[I]WORD\f[]
which timestamp field to list (modified, accessed, created)
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-u, \-\-accessed
use the accessed timestamp field
.RS
.RE
2015-06-07 15:45:58 +00:00
.TP
.B \-U, \-\-created
use the created timestamp field
.RS
.RE
2015-11-19 13:21:31 +00:00
.TP
.B \-\@, \-\-extended
list each file\[aq]s extended attributes and sizes
2015-11-19 13:21:31 +00:00
.RS
.RE
.TP
.B \-\-git
list each file\[aq]s Git status, if tracked
2015-11-19 13:21:31 +00:00
.RS
.RE
.SH EXAMPLES
.PP
2015-06-07 15:45:58 +00:00
To display a list of files, with the largest at the top:
.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:
.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>.