exa(1)

NAME

exa - a modern replacement for ls

SYNOPSIS

exa [options] [files]...

DESCRIPTION

exa 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.

DISPLAY OPTIONS

-1, --oneline
    display one entry per line

-G, --grid
    display entries as a grid (default)

-l, --long
    display extended file metadata as a table

-x, --across
    sort the grid across, rather than downwards

-R, --recurse
    recurse into directories

-T, --tree
    recurse into directories as a tree

--color, --colour=WHEN
    when to use terminal colours (always, automatic, never)

--color-scale, --colour-scale
    highlight levels of file sizes distinctly

FILTERING AND SORTING OPTIONS

-a, --all
    show hidden and 'dot' files. Use this twice to also show the . and .. directories.

-d, --list-dirs
    list directories like regular files

-r, --reverse
    reverse the sort order

-s, --sort=SORT_FIELD
    which field to sort by. Valid fields are name, Name, extension, Extension, size, modified, accessed, created, inode, type, and none. Fields starting with a capital letter are case-sensitive.

-I, --ignore-glob=GLOBS
    Glob patterns, pipe-separated, of files to ignore

--group-directories-first
    list directories before other files

LONG VIEW OPTIONS

These options are available when running with --long (-l):

-b, --binary
    list file sizes with binary prefixes

-B, --bytes
    list file sizes in bytes, without any prefixes

-g, --group
    list each file's group

-h, --header
    add a header row to each column

-H, --links
    list each file's number of hard links

-i, --inode
    list each file's inode number

-L, --level=DEPTH
    limit the depth of recursion

-m, --modified
    use the modified timestamp field

-S, --blocks
    list each file's number of file system blocks

-t, --time=WORD
    which timestamp field to list (modified, accessed, created)

--time-style=STYLE
    how to format timestamps (default, iso, long-iso, full-iso)

-u, --accessed
    use the accessed timestamp field

-U, --created
    use the created timestamp field

-@, --extended
    list each file's extended attributes and sizes

--git
    list each file's Git status, if tracked

EXAMPLES

To display a list of files, with the largest at the top:

    exa --reverse --sort=size

To display a tree of files, three levels deep:

    exa --long --tree --level=3

AUTHOR

exa is maintained by Benjamin 'ogham' Sago and many other contributors. You can view the full list at <https://github.com/ogham/exa/graphs/contributors>.