exa.1 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. .hy
  2. .TH "exa" "1" "2017\-07\-07" "exa 0.7.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. show hidden and \[aq]dot\[aq] files.
  63. Use this twice to also show the \f[C].\f[] and \f[C]..\f[] directories.
  64. .RS
  65. .RE
  66. .TP
  67. .B \-d, \-\-list\-dirs
  68. list directories like regular files
  69. .RS
  70. .RE
  71. .TP
  72. .B \-r, \-\-reverse
  73. reverse the sort order
  74. .RS
  75. .RE
  76. .TP
  77. .B \-s, \-\-sort=\f[I]SORT_FIELD\f[]
  78. which field to sort by.
  79. Valid fields are name, Name, extension, Extension, size, modified, accessed, created, inode, type, and none.
  80. The modified field has the aliases date, time, and newest, and its reverse order has the aliases age and oldest.
  81. Fields starting with a capital letter will sort uppercase before lowercase: 'A' then 'B' then 'a' then 'b'.
  82. Fields starting with a lowercase letter will mix them: 'A' then 'a' then 'B' then 'b'.
  83. .RS
  84. .RE
  85. .TP
  86. .B \-I, \-\-ignore\-glob=\f[I]GLOBS\f[]
  87. Glob patterns, pipe-separated, of files to ignore
  88. .RS
  89. .RE
  90. .TP
  91. .B \-\-git\-ignore
  92. ignore files mentioned in '.gitignore'
  93. .RS
  94. .RE
  95. .TP
  96. .B \-\-group\-directories\-first
  97. list directories before other files
  98. .RS
  99. .RE
  100. .SH LONG VIEW OPTIONS
  101. .PP
  102. These options are available when running with \f[C]\-\-long\f[]
  103. (\f[C]\-l\f[]):
  104. .TP
  105. .B \-b, \-\-binary
  106. list file sizes with binary prefixes
  107. .RS
  108. .RE
  109. .TP
  110. .B \-B, \-\-bytes
  111. list file sizes in bytes, without any prefixes
  112. .RS
  113. .RE
  114. .TP
  115. .B \-g, \-\-group
  116. list each file\[aq]s group
  117. .RS
  118. .RE
  119. .TP
  120. .B \-h, \-\-header
  121. add a header row to each column
  122. .RS
  123. .RE
  124. .TP
  125. .B \-H, \-\-links
  126. list each file\[aq]s number of hard links
  127. .RS
  128. .RE
  129. .TP
  130. .B \-i, \-\-inode
  131. list each file\[aq]s inode number
  132. .RS
  133. .RE
  134. .TP
  135. .B \-L, \-\-level=\f[I]DEPTH\f[]
  136. limit the depth of recursion
  137. .RS
  138. .RE
  139. .TP
  140. .B \-m, \-\-modified
  141. use the modified timestamp field
  142. .RS
  143. .RE
  144. .TP
  145. .B \-S, \-\-blocks
  146. list each file\[aq]s number of file system blocks
  147. .RS
  148. .RE
  149. .TP
  150. .B \-t, \-\-time=\f[I]WORD\f[]
  151. which timestamp field to list (modified, accessed, created)
  152. .RS
  153. .RE
  154. .TP
  155. .B \-\-time\-style=\f[I]STYLE\f[]
  156. how to format timestamps (default, iso, long-iso, full-iso)
  157. .RS
  158. .RE
  159. .TP
  160. .B \-u, \-\-accessed
  161. use the accessed timestamp field
  162. .RS
  163. .RE
  164. .TP
  165. .B \-U, \-\-created
  166. use the created timestamp field
  167. .RS
  168. .RE
  169. .TP
  170. .B \-\@, \-\-extended
  171. list each file\[aq]s extended attributes and sizes
  172. .RS
  173. .RE
  174. .TP
  175. .B \-\-git
  176. list each file\[aq]s Git status, if tracked
  177. .RS
  178. .RE
  179. .SH EXAMPLES
  180. .PP
  181. To display a list of files, with the largest at the top:
  182. .IP
  183. .nf
  184. \f[C]
  185. exa\ \-\-reverse\ \-\-sort=size
  186. \f[]
  187. .fi
  188. .PP
  189. To display a tree of files, three levels deep:
  190. .IP
  191. .nf
  192. \f[C]
  193. exa\ \-\-long\ \-\-tree\ \-\-level=3
  194. \f[]
  195. .fi
  196. .SH AUTHOR
  197. .PP
  198. \f[C]exa\f[] is maintained by Benjamin \[aq]ogham\[aq] Sago and many
  199. other contributors.
  200. You can view the full list at
  201. <https://github.com/ogham/exa/graphs/contributors>.