The main way to configure exa is by passing options on the command-line.
Displays one file per line.
Displays files as a grid.
This is the default.
Displays files in a table along with their metadata.
Sort the grid across, rather than downwards.
Recurses into directories.
Recurses into directories as a tree.
Limits the depth of recursion, so exa only descends up to the given number of times.
Displays file type indicators by file names.
Configures when to use terminal colours. The default choice is
automatic, meaning that colours are used when exa is writing to a terminal, and are switched off if it’s not.
autoonly display colours when writing to a terminal.
alwaysdisplays them even if it’s not.
neverdoesn’t display them even if it is.
Displays Unicode icons by file names.
Don’t display icons (overrides
Filtering and Sorting Options
Shows hidden and ‘dot’ files.
Use this twice to also show the
Lists directories without recursing into them, as though they were regular files.
Reverses the sort order.
Configures which field to sort by.
filenamesorts by name, case-insensitively.
Filenamesorts by name, case-sensitively.
cfilenamesorts by name, case-insensitively and canonically.
Cfilenamesorts by name, case-sensitively and canonically.
.filenamesorts by name without a leading dot, case-insensitively.
.Filenamesorts by name without a leading dot, case-sensitively.
filesizesorts by size, with smaller files listed first.
extensionsorts by file extension, case-insensitively.
Extensionsorts by file extension, case-sensitively.
modifiedsorts by file modified date, with older files listed first.
accessedsorts by file accessed date.
createdsorts by file created date.
inodesorts by file inode.
typesorts by the type of file (directory, socket, link).
nonedisables sorting, and lists files in an arbitrary order.
modified field has the aliases
Also, because we usually think about dates relatively, its reverse has the aliases
Fields starting with a capital letter will sort uppercase before lowercase.
Canonical sorting means that numbers will be treated as strings of digits instead of numbers.
9 comes before
10, but sorting by
Cname will sort
9 because it sees the
1 digit first.
Glob patterns, pipe-separated, of files to ignore.
Ignores files mentioned in
Lists directories before other files when sorting.
Long View Options
These options are available when running with
Lists file sizes with binary prefixes.
list file sizes in bytes, without any prefixes.
Lists each file’s group.
Adds a header row to each column in the table.
Lists each file’s number of hard links.
Lists each file’s inode number.
Uses the modified timestamp field.
Lists each file’s filesystem block count.
Configures which timestamp field to list (
Configures which format timestamps should be in.
defaultuses the current locale to print month names, specifies the timestamp down to the minute for times in the current year, and down to the day for previous years.
isodoes the same, except using a month for the number so it doesn’t need to look up the locale.
long-isospecifies the timestamp down to the minute without using the locale or current year.
full-isospecifies the timestamp down to the millisecond, including its offset down to the minute, without using the locale or current year.
Uses the accessed timestamp field.
Uses the created timestamp field.
Lists each file’s extended attributes and sizes.
Lists each file’s Git status, if tracked.
Highlights levels of file size distinctly.
Suppress the permissions column.
Suppress the file size column.
Suppress the user column.
Suppress the time column.