exa.1 3.6 KB

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