exa.1 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. .TP
  83. .B \-b, \-\-binary
  84. use binary prefixes in file sizes
  85. .RS
  86. .RE
  87. .TP
  88. .B \-B, \-\-bytes
  89. list file sizes in bytes, without prefixes
  90. .RS
  91. .RE
  92. .TP
  93. .B \-g, \-\-group
  94. show group as well as user
  95. .RS
  96. .RE
  97. .TP
  98. .B \-h, \-\-header
  99. show a header row at the top
  100. .RS
  101. .RE
  102. .TP
  103. .B \-H, \-\-links
  104. show number of hard links
  105. .RS
  106. .RE
  107. .TP
  108. .B \-i, \-\-inode
  109. show each file\[aq]s inode number
  110. .RS
  111. .RE
  112. .TP
  113. .B \-L, \-\-level=\f[I]DEPTH\f[]
  114. maximum depth of recursion
  115. .RS
  116. .RE
  117. .TP
  118. .B \-m, \-\-modified
  119. display timestamp of most recent modification
  120. .RS
  121. .RE
  122. .TP
  123. .B \-S, \-\-blocks
  124. show number of file system blocks
  125. .RS
  126. .RE
  127. .TP
  128. .B \-t, \-\-time=\f[I]WORD\f[]
  129. which timestamp to show for a file (modified, accessed, created)
  130. .RS
  131. .RE
  132. .TP
  133. .B \-u, \-\-accessed
  134. display timestamp of last access for a file
  135. .RS
  136. .RE
  137. .TP
  138. .B \-U, \-\-created
  139. display timestamp of creation for a file
  140. .RS
  141. .RE
  142. .SH EXAMPLES
  143. .PP
  144. To display a list of files, with the largest at the top:
  145. .IP
  146. .nf
  147. \f[C]
  148. exa\ \-\-reverse\ \-\-sort=size
  149. \f[]
  150. .fi
  151. .PP
  152. To display a tree of files, three levels deep:
  153. .IP
  154. .nf
  155. \f[C]
  156. exa\ \-\-long\ \-\-tree\ \-\-level=3
  157. \f[]
  158. .fi
  159. .SH AUTHOR
  160. .PP
  161. \f[C]exa\f[] is maintained by Benjamin \[aq]ogham\[aq] Sago and many
  162. other contributors.
  163. You can view the full list at
  164. <https://github.com/ogham/exa/graphs/contributors>.