exa.1 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. .hy
  2. .TH "exa" "1" "2015\-10\-18" "exa 0.4.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 in a grid view (default)
  27. .RS
  28. .RE
  29. .TP
  30. .B \-l, \-\-long
  31. display extended details and attributes
  32. .RS
  33. .RE
  34. .TP
  35. .B \-R, \-\-recurse
  36. recurse into directories
  37. .RS
  38. .RE
  39. .TP
  40. .B \-T, \-\-tree
  41. recurse into subdirectories in a tree view
  42. .RS
  43. .RE
  44. .TP
  45. .B \-x, \-\-across
  46. sort multi\-column view entries across
  47. .RS
  48. .RE
  49. .TP
  50. .B \-\-color, \-\-colour=\f[I]WHEN\f[]
  51. when to colourise the output (always, automatic, never)
  52. .RS
  53. .RE
  54. .SH FILTERING AND SORTING OPTIONS
  55. .TP
  56. .B \-a, \-\-all
  57. show dot\-files
  58. .RS
  59. .RE
  60. .TP
  61. .B \-d, \-\-list\-dirs
  62. list directories as regular files
  63. .RS
  64. .RE
  65. .TP
  66. .B \-r, \-\-reverse
  67. reverse order of files
  68. .RS
  69. .RE
  70. .TP
  71. .B \-s, \-\-sort=\f[I]WORD\f[]
  72. field to sort by (name, size, extension, modified, accessed, created,
  73. inode, none)
  74. .RS
  75. .RE
  76. .TP
  77. .B \-\-group\-directories\-first
  78. list directories before other files
  79. .RS
  80. .RE
  81. .SH LONG VIEW OPTIONS
  82. .PP
  83. These options are available when running with \f[C]\-\-long\f[]
  84. (\f[C]\-l\f[]):
  85. .TP
  86. .B \-b, \-\-binary
  87. use binary prefixes in file sizes
  88. .RS
  89. .RE
  90. .TP
  91. .B \-B, \-\-bytes
  92. list file sizes in bytes, without prefixes
  93. .RS
  94. .RE
  95. .TP
  96. .B \-g, \-\-group
  97. show group as well as user
  98. .RS
  99. .RE
  100. .TP
  101. .B \-h, \-\-header
  102. show a header row at the top
  103. .RS
  104. .RE
  105. .TP
  106. .B \-H, \-\-links
  107. show number of hard links
  108. .RS
  109. .RE
  110. .TP
  111. .B \-i, \-\-inode
  112. show each file\[aq]s inode number
  113. .RS
  114. .RE
  115. .TP
  116. .B \-L, \-\-level=\f[I]DEPTH\f[]
  117. maximum depth of recursion
  118. .RS
  119. .RE
  120. .TP
  121. .B \-m, \-\-modified
  122. display timestamp of most recent modification
  123. .RS
  124. .RE
  125. .TP
  126. .B \-S, \-\-blocks
  127. show number of file system blocks
  128. .RS
  129. .RE
  130. .TP
  131. .B \-t, \-\-time=\f[I]WORD\f[]
  132. which timestamp to show for a file (modified, accessed, created)
  133. .RS
  134. .RE
  135. .TP
  136. .B \-u, \-\-accessed
  137. display timestamp of last access for a file
  138. .RS
  139. .RE
  140. .TP
  141. .B \-U, \-\-created
  142. display timestamp of creation for a file
  143. .RS
  144. .RE
  145. .TP
  146. .B \-\@, \-\-extended
  147. display extended attribute keys and sizes
  148. .RS
  149. .RE
  150. .TP
  151. .B \-\-git
  152. display Git status for a file, if available
  153. .RS
  154. .RE
  155. .SH EXAMPLES
  156. .PP
  157. To display a list of files, with the largest at the top:
  158. .IP
  159. .nf
  160. \f[C]
  161. exa\ \-\-reverse\ \-\-sort=size
  162. \f[]
  163. .fi
  164. .PP
  165. To display a tree of files, three levels deep:
  166. .IP
  167. .nf
  168. \f[C]
  169. exa\ \-\-long\ \-\-tree\ \-\-level=3
  170. \f[]
  171. .fi
  172. .SH AUTHOR
  173. .PP
  174. \f[C]exa\f[] is maintained by Benjamin \[aq]ogham\[aq] Sago and many
  175. other contributors.
  176. You can view the full list at
  177. <https://github.com/ogham/exa/graphs/contributors>.