aboutsummaryrefslogtreecommitdiff
path: root/src/unalf.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/unalf.1')
-rw-r--r--src/unalf.121
1 files changed, 20 insertions, 1 deletions
diff --git a/src/unalf.1 b/src/unalf.1
index 743cc27..9af4d47 100644
--- a/src/unalf.1
+++ b/src/unalf.1
@@ -36,7 +36,7 @@ unalf \- extract Atari 8-bit ALF archives
.
.SH SYNOPSIS
.sp
-unalf [\fB\-\-help\fP] [\fB\-aehtklLopqtv\fP] [\fB\-d\fP \fIdir\fP] [\fB\-x\fP \fIwildcard\fP] \fIalf\-file\fP [\fIwildcard\fP ...]
+unalf [\fB\-\-help\fP] [\fB\-aehtklLopqstv\fP] [\fB\-d\fP \fIdir\fP] [\fB\-n\fP \fInumber\fP] [\fB\-x\fP \fIwildcard\fP] \fIalf\-file\fP [\fIwildcard\fP ...]
.SH DESCRIPTION
.sp
\fBunalf\fP lists, extracts, or tests the contents of an \fIALF\fP archive.
@@ -154,6 +154,15 @@ Lowercase filenames. Example: \fBFOO.TXT\fP will extract to \fBfoo.txt\fP\&.
.
.INDENT 0.0
.TP
+.BI \-n \ number
+Only extract the \fInumber\fPth file. \fIwildcards\fP are ignored when using
+this option. Numbering begins at 1 for the first file in the archive;
+\fB\-n0\fP is an error.
+.UNINDENT
+.\" extract only file #<number> (counting from 1).
+.
+.INDENT 0.0
+.TP
.B \-o
Overwrite files, if they already exist. The default is to rename
existing files, adding a \fB~\fP suffix. Note that renaming \fBfile\fP
@@ -188,6 +197,16 @@ doesn\(aqt do anything when used with \fB\-l\fP or \fB\-v\fP\&.
.
.INDENT 0.0
.TP
+.B \-s
+Split \fIALF\fP file into multiple \fIALF\fP files, one per archive member.
+The new \fIALF\fP files are named after the filenames in the input
+\fIALF\fP file, with ".ALF" appended. There is no corresponding option
+to join them back together, but you can use \fBcat\fP(1) for that.
+.UNINDENT
+.\" split ALF file into multiple ALFs.
+.
+.INDENT 0.0
+.TP
.B \-t
Test archive. Same as extraction, except the files are not written
anywhere.