exa.1 3.3 KB

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