a.1 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. .\" Generated by scdoc 1.11.3
  2. .\" Complete documentation for this program is not available as a GNU info page
  3. .ie \n(.g .ds Aq \(aq
  4. .el .ds Aq '
  5. .nh
  6. .ad l
  7. .\" Begin generated content:
  8. .TH "A" "1" "2024-06-09"
  9. .PP
  10. .SH NAME
  11. .PP
  12. a - manage all kind of archives with one interface
  13. .PP
  14. .SH SYNOPSIS
  15. .PP
  16. \fBa\fR [\fIOPTIONS\fR] -- <\fIsubcmd\fR> <\fIargs.\&.\&.\&\fR>
  17. .PP
  18. .SH OPTIONS
  19. .PP
  20. \fB-v\fR
  21. .RS 4
  22. verbose
  23. .PP
  24. .RE
  25. \fB-V\fR
  26. .RS 4
  27. print version
  28. .PP
  29. .RE
  30. \fB-h\fR
  31. .RS 4
  32. show this help
  33. .PP
  34. .RE
  35. \fB-n\fR
  36. .RS 4
  37. dry run (see \fBMISC INFO\fR section)
  38. .PP
  39. .RE
  40. \fB-e\fR <\fIext:str\fR>
  41. .RS 4
  42. set custom extension
  43. .PP
  44. .RE
  45. \fB-o\fR <\fIdir:path\fR>
  46. .RS 4
  47. set output directory (default: \fI.\&\fR)
  48. .PP
  49. .RE
  50. \fB-T\fR <\fIthreads:int\fR>
  51. .RS 4
  52. set number of threads (for {de,}compressors that supports it)
  53. .PP
  54. .RE
  55. \fB-M\fR <\fIlimit:str\fR>
  56. .PP
  57. .RS 4
  58. set memory limit (for {de,}compressors that supports it)
  59. .PP
  60. .PP
  61. .RE
  62. .SH SUBCOMMANDS
  63. .PP
  64. \fBc\fR <\fIarchive\fR> <\fIfile.\&.\&.\&\fR>
  65. .RS 4
  66. create <\fIarchive\fR> with files <\fIfile.\&.\&.\&\fR>
  67. .PP
  68. .RE
  69. \fBx\fR <\fIarchive\fR>
  70. .RS 4
  71. extract files from <\fIarchive\fR>
  72. .PP
  73. .RE
  74. \fBl\fR <\fIarchive\fR>
  75. .RS 4
  76. list contents of <\fIarchive\fR>
  77. .PP
  78. .RE
  79. \fB?\&\fR
  80. .RS 4
  81. list of supported archive types
  82. .PP
  83. .PP
  84. .RE
  85. .SH EXAMPLE
  86. .PP
  87. .nf
  88. .RS 4
  89. # create zip archive with file1 file2 file3
  90. a c archive\&.zip file1 file2 file3
  91. # list content of archive
  92. a l archive\&.tar\&.gz
  93. # extract files from archive\&.zip as if it were 7z archive to /tmp directory
  94. # and be verbose about extracting files
  95. a -e 7z -v -o /tmp x archive\&.zip
  96. .fi
  97. .RE
  98. .PP
  99. .SH MISC INFO
  100. .PP
  101. dry run (-n) output should be interpretable for posix compliant shell,
  102. so you can do something like that
  103. .PP
  104. .nf
  105. .RS 4
  106. a -no /tmp x archive\&.tar\&.xz | sh
  107. .fi
  108. .RE
  109. .PP
  110. .SH AUTHORS
  111. .PP
  112. dm9pZCAq.\&