2023-09-12 08:34:09 -07:00
|
|
|
# eza
|
|
|
|
|
|
|
|
> Modern, maintained replacement for `ls`, built on `exa`.
|
|
|
|
> More information: <https://github.com/eza-community/eza>.
|
|
|
|
|
|
|
|
- List files one per line:
|
|
|
|
|
2025-04-07 04:02:11 -05:00
|
|
|
`eza {{[-1|--oneline]}}`
|
2023-09-12 08:34:09 -07:00
|
|
|
|
|
|
|
- List all files, including hidden files:
|
|
|
|
|
2025-04-07 04:02:11 -05:00
|
|
|
`eza {{[-a|--all]}}`
|
2023-09-12 08:34:09 -07:00
|
|
|
|
|
|
|
- Long format list (permissions, ownership, size and modification date) of all files:
|
|
|
|
|
2025-04-07 04:02:11 -05:00
|
|
|
`eza {{[-al|--all --long]}}`
|
2023-09-12 08:34:09 -07:00
|
|
|
|
|
|
|
- List files with the largest at the top:
|
|
|
|
|
2025-04-07 04:02:11 -05:00
|
|
|
`eza {{[-r|--reverse]}} {{[-s|--sort]}} {{size}}`
|
2023-09-12 08:34:09 -07:00
|
|
|
|
|
|
|
- Display a tree of files, three levels deep:
|
|
|
|
|
2025-04-07 04:02:11 -05:00
|
|
|
`eza {{[-lT|--long --tree]}} {{[-L|--level]}} {{3}}`
|
2023-09-12 08:34:09 -07:00
|
|
|
|
|
|
|
- List files sorted by modification date (oldest first):
|
|
|
|
|
2025-04-07 04:02:11 -05:00
|
|
|
`eza {{[-l|--long]}} {{[-s|--sort]}} {{modified}}`
|
2023-09-12 08:34:09 -07:00
|
|
|
|
|
|
|
- List files with their headers, icons, and Git statuses:
|
|
|
|
|
2025-04-07 04:02:11 -05:00
|
|
|
`eza {{[-lh|--long --header]}} --icons --git`
|
2023-09-12 08:34:09 -07:00
|
|
|
|
|
|
|
- Don't list files mentioned in `.gitignore`:
|
|
|
|
|
|
|
|
`eza --git-ignore`
|