exa.1 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. .hy
  2. .TH "exa" "1" "2017\-05\-17" "exa 0.6.0" ""
  3. .SH NAME
  4. .PP
  5. exa \- a modern replacement for ls
  6. .SH SYNOPSIS
  7. .PP
  8. exa [\f[I]options\f[]] [\f[I]files\f[]]...
  9. .SH DESCRIPTION
  10. .PP
  11. \f[C]exa\f[] is a modern replacement for \f[C]ls\f[].
  12. It uses colours for information by default, helping you distinguish
  13. between many types of files, such as whether you are the owner, or in
  14. the owning group.
  15. It also has extra features not present in the original \f[C]ls\f[], such
  16. as viewing the Git status for a directory, or recursing into directories
  17. with a tree view.
  18. .SH DISPLAY OPTIONS
  19. .TP
  20. .B \-1, \-\-oneline
  21. display one entry per line
  22. .RS
  23. .RE
  24. .TP
  25. .B \-G, \-\-grid
  26. display entries as a grid (default)
  27. .RS
  28. .RE
  29. .TP
  30. .B \-l, \-\-long
  31. display extended file metadata as a table
  32. .RS
  33. .RE
  34. .TP
  35. .B \-x, \-\-across
  36. sort the grid across, rather than downwards
  37. .RS
  38. .RE
  39. .TP
  40. .B \-R, \-\-recurse
  41. recurse into directories
  42. .RS
  43. .RE
  44. .TP
  45. .B \-T, \-\-tree
  46. recurse into directories as a tree
  47. .RS
  48. .RE
  49. .TP
  50. .B \-\-color, \-\-colour=\f[I]WHEN\f[]
  51. when to use terminal colours (always, automatic, never)
  52. .RS
  53. .RE
  54. .TP
  55. .B \-\-color-scale, \-\-colour-scale
  56. highlight levels of file sizes distinctly
  57. .RS
  58. .RE
  59. .SH FILTERING AND SORTING OPTIONS
  60. .TP
  61. .B \-a, \-\-all
  62. don\[aq]t hide hidden and \[aq]dot\[aq] files
  63. .RS
  64. .RE
  65. .TP
  66. .B \-d, \-\-list\-dirs
  67. list directories like regular files
  68. .RS
  69. .RE
  70. .TP
  71. .B \-r, \-\-reverse
  72. reverse the sort order
  73. .RS
  74. .RE
  75. .TP
  76. .B \-s, \-\-sort=\f[I]SORT_FIELD\f[]
  77. which field to sort by.
  78. Valid fields are name, Name, extension, Extension, size, modified, accessed, created, inode, and none.
  79. Fields starting with a capital letter are case-sensitive.
  80. .RS
  81. .RE
  82. .TP
  83. .B \-I, \-\-ignore\-glob=\f[I]GLOBS\f[]
  84. Glob patterns, pipe-separated, of files to ignore
  85. .RS
  86. .RE
  87. .TP
  88. .B \-\-group\-directories\-first
  89. list directories before other files
  90. .RS
  91. .RE
  92. .SH LONG VIEW OPTIONS
  93. .PP
  94. These options are available when running with \f[C]\-\-long\f[]
  95. (\f[C]\-l\f[]):
  96. .TP
  97. .B \-b, \-\-binary
  98. list file sizes with binary prefixes
  99. .RS
  100. .RE
  101. .TP
  102. .B \-B, \-\-bytes
  103. list file sizes in bytes, without any prefixes
  104. .RS
  105. .RE
  106. .TP
  107. .B \-g, \-\-group
  108. list each file\[aq]s group
  109. .RS
  110. .RE
  111. .TP
  112. .B \-h, \-\-header
  113. add a header row to each column
  114. .RS
  115. .RE
  116. .TP
  117. .B \-H, \-\-links
  118. list each file\[aq]s number of hard links
  119. .RS
  120. .RE
  121. .TP
  122. .B \-i, \-\-inode
  123. list each file\[aq]s inode number
  124. .RS
  125. .RE
  126. .TP
  127. .B \-L, \-\-level=\f[I]DEPTH\f[]
  128. limit the depth of recursion
  129. .RS
  130. .RE
  131. .TP
  132. .B \-m, \-\-modified
  133. use the modified timestamp field
  134. .RS
  135. .RE
  136. .TP
  137. .B \-S, \-\-blocks
  138. list each file\[aq]s number of file system blocks
  139. .RS
  140. .RE
  141. .TP
  142. .B \-t, \-\-time=\f[I]WORD\f[]
  143. which timestamp field to list (modified, accessed, created)
  144. .RS
  145. .RE
  146. .TP
  147. .B \-u, \-\-accessed
  148. use the accessed timestamp field
  149. .RS
  150. .RE
  151. .TP
  152. .B \-U, \-\-created
  153. use the created timestamp field
  154. .RS
  155. .RE
  156. .TP
  157. .B \-\@, \-\-extended
  158. list each file\[aq]s extended attributes and sizes
  159. .RS
  160. .RE
  161. .TP
  162. .B \-\-git
  163. list each file\[aq]s Git status, if tracked
  164. .RS
  165. .RE
  166. .SH EXAMPLES
  167. .PP
  168. To display a list of files, with the largest at the top:
  169. .IP
  170. .nf
  171. \f[C]
  172. exa\ \-\-reverse\ \-\-sort=size
  173. \f[]
  174. .fi
  175. .PP
  176. To display a tree of files, three levels deep:
  177. .IP
  178. .nf
  179. \f[C]
  180. exa\ \-\-long\ \-\-tree\ \-\-level=3
  181. \f[]
  182. .fi
  183. .SH AUTHOR
  184. .PP
  185. \f[C]exa\f[] is maintained by Benjamin \[aq]ogham\[aq] Sago and many
  186. other contributors.
  187. You can view the full list at
  188. <https://github.com/ogham/exa/graphs/contributors>.