aboutsummaryrefslogtreecommitdiffstats
path: root/archivemail.sgml
diff options
context:
space:
mode:
authorNikolaus Schulz <microschulz@web.de>2010-07-30 23:26:22 +0200
committerNikolaus Schulz <microschulz@web.de>2010-07-31 20:49:03 +0200
commitb6bc92c34f255054a7fd2128a024a5ae26cd1026 (patch)
treeac3268c8f698f38d866ce164ad3c3d62b86a678c /archivemail.sgml
parentf22fe4decd9a70a2eb826ecdd14f9d1bb3b4e394 (diff)
downloadarchivemail-b6bc92c34f255054a7fd2128a024a5ae26cd1026.tar.gz
archivemail-b6bc92c34f255054a7fd2128a024a5ae26cd1026.tar.bz2
archivemail-b6bc92c34f255054a7fd2128a024a5ae26cd1026.zip
New option --archive-prefix, alias -p
Technically, this works just like the --suffix option. This commit also updates the manpage accordingly. Currently, the prefix is not checked for slashes, so it could contain path components. (The same applies for the suffix, btw). Since the expanded string is prepended to the archive base name, this can be used to dynamically configure the archive directory, depending on the archive cutoff date. I'm not sure if this can be considered a reasonable feature, though.
Diffstat (limited to 'archivemail.sgml')
-rw-r--r--archivemail.sgml10
1 files changed, 10 insertions, 0 deletions
diff --git a/archivemail.sgml b/archivemail.sgml
index f4be360..bb4d87e 100644
--- a/archivemail.sgml
+++ b/archivemail.sgml
@@ -225,6 +225,16 @@ cut-off date:
<VarListEntry>
<Term>
+ <Option>-p <Replaceable/NAME/, --prefix=<Replaceable/NAME/</Option>
+</Term>
+<ListItem><Para>Prefix <Replaceable/NAME/ to the archive name.
+Like a suffix, this is run through the &python; <application/time.strftime()/
+function. The default is not to add a prefix.
+</Para></ListItem>
+</VarListEntry>
+
+<VarListEntry>
+<Term>
<Option>-S <Replaceable/NUM/, --size=<Replaceable/NUM/</Option>
</Term>
<ListItem><Para>Only archive messages that are <Replaceable/NUM/ bytes or