fork/eza

git clone https://git.julia.blue/fork/eza

Christina Sørensenfeat!: define -d/--treat-dirs-as-files behavior, tests7f081337

main
5.0 KiB84 linesraw
1Usage:
2  eza [options] [files...]
3
4META OPTIONS
5  -?, --help                 show list of command-line options
6  -v, --version              show version of eza
7
8DISPLAY OPTIONS
9  -1, --oneline              display one entry per line
10  -l, --long                 display extended file metadata as a table
11  -G, --grid                 display entries as a grid (default)
12  -x, --across               sort the grid across, rather than downwards
13  -R, --recurse              recurse into directories
14  -T, --tree                 recurse into directories as a tree
15  -X, --dereference          dereference symbolic links when displaying information
16  -F, --classify=WHEN        display type indicator by file names (always, auto, never)
17  --colo[u]r=WHEN            when to use terminal colours (always, auto, never)
18  --colo[u]r-scale           highlight levels of 'field' distinctly(all, age, size)
19  --colo[u]r-scale-mode      use gradient or fixed colors in --color-scale (fixed, gradient)
20  --icons=WHEN               when to display icons (always, auto, never)
21  --no-quotes                don't quote file names with spaces
22  --hyperlink                display entries as hyperlinks
23  --absolute                 display entries with their absolute path (on, follow, off)
24  --follow-symlinks          drill down into symbolic links that point to directories
25  -w, --width COLS           set screen width in columns
26
27
28FILTERING AND SORTING OPTIONS
29  -a, --all                  show hidden and 'dot' files. Use this twice to also
30                             show the '.' and '..' directories
31  -A, --almost-all           equivalent to --all; included for compatibility with `ls -A`
32  -d, --treat-dirs-as-files  list directories as files; don't list their contents
33  -D, --only-dirs            list only directories
34  -f, --only-files           list only files
35  --show-symlinks            explicitly show symbolic links (for use with --only-dirs | --only-files)
36  --no-symlinks              do not show symbolic links
37  -L, --level DEPTH          limit the depth of recursion
38  -r, --reverse              reverse the sort order
39  -s, --sort SORT_FIELD      which field to sort by
40  --group-directories-first  list directories before other files
41  --group-directories-last   list directories after other files
42  -I, --ignore-glob GLOBS    glob patterns (pipe-separated) of files to ignore
43  --git-ignore               ignore files mentioned in '.gitignore'
44  Valid sort fields:         name, Name, extension, Extension, size, type,
45                             created, modified, accessed, changed, inode, and none.
46                             date, time, old, and new all refer to modified.
47
48LONG VIEW OPTIONS
49  -b, --binary               list file sizes with binary prefixes
50  -B, --bytes                list file sizes in bytes, without any prefixes
51  -g, --group                list each file's group
52  --smart-group              only show group if it has a different name from owner
53  -h, --header               add a header row to each column
54  -H, --links                list each file's number of hard links
55  -i, --inode                list each file's inode number
56  -M, --mounts               show mount details (Linux and Mac only)
57  -n, --numeric              list numeric user and group IDs
58  -O, --flags                list file flags (Mac, BSD, and Windows only)
59  -S, --blocksize            show size of allocated file system blocks
60  -t, --time FIELD           which timestamp field to list (modified, accessed, created)
61  -m, --modified             use the modified timestamp field
62  -u, --accessed             use the accessed timestamp field
63  -U, --created              use the created timestamp field
64  --changed                  use the changed timestamp field
65  --time-style               how to format timestamps (default, iso, long-iso,
66                             full-iso, relative, or a custom style '+<FORMAT>'
67                             like '+%Y-%m-%d %H:%M')
68  --total-size               show the size of a directory as the size of all
69                             files and directories inside (unix only)
70  -o, --octal-permissions    list each file's permission in octal format
71  --no-permissions           suppress the permissions field
72  --no-filesize              suppress the filesize field
73  --no-user                  suppress the user field
74  --no-time                  suppress the time field
75  --stdin                    read file names from stdin, one per line or other separator 
76                             specified in environment
77  --git                      list each file's Git status, if tracked or ignored
78  --no-git                   suppress Git status (always overrides --git,
79                             --git-repos, --git-repos-no-status)
80  --git-repos                list root of git-tree status
81  --git-repos-no-status      list each git-repos branch name (much faster)
82    
83  -@, --extended             list each file's extended attributes and sizes
84  -Z, --context              list each file's security context