From f582fd75c98007a7f123a4d6bcca07d9d1c98a3a Mon Sep 17 00:00:00 2001 From: Nikolaus Schulz Date: Sat, 3 Nov 2007 00:51:23 +0000 Subject: archivemail.sgml: wrap examples in . --- archivemail.1 | 9 +++++++++ archivemail.sgml | 18 ++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/archivemail.1 b/archivemail.1 index 4e9b298..86800bb 100644 --- a/archivemail.1 +++ b/archivemail.1 @@ -298,6 +298,7 @@ Note that quoting only a substring will not work, and be aware that your shell will probably remove unprotected quotes or backslashes. .SH "EXAMPLES" .PP +.PP To archive all messages in the mailbox \fIdebian-user\fR that are older than 180 days to a compressed mailbox called \fIdebian-user_archive.gz\fR in the current directory: @@ -306,6 +307,7 @@ are older than 180 days to a compressed mailbox called bash$ \fBarchivemail debian-user\fR .fi .PP +.PP To archive all messages in the mailbox \fIdebian-user\fR that are older than 180 days to a compressed mailbox called \fIdebian-user_October_2001.gz\fR (where the current month and @@ -315,6 +317,7 @@ year is April, 2002) in the current directory: bash$ \fBarchivemail --suffix '_%B_%Y' debian-user\fR .fi .PP +.PP To archive all messages in the mailbox \fIcm-melb\fR that are older than the first of January 2002 to a compressed mailbox called \fIcm-melb_archive.gz\fR in the current directory: @@ -323,12 +326,14 @@ are older than the first of January 2002 to a compressed mailbox called bash$ \fBarchivemail --date'1 Jan 2002' cm-melb\fR .fi .PP +.PP Exactly the same as the above example, using an ISO date format instead: .nf bash$ \fBarchivemail --date=2002-01-01 cm-melb\fR .fi .PP +.PP To delete all messages in the mailbox \fIspam\fR that are older than 30 days: @@ -336,6 +341,7 @@ are older than 30 days: bash$ \fBarchivemail --delete --days=30 spam\fR .fi .PP +.PP To archive all read messages in the mailbox \fIincoming\fR that are older than 180 days to a compressed mailbox called \fIincoming_archive.gz\fR in the current directory: @@ -344,6 +350,7 @@ are older than 180 days to a compressed mailbox called bash$ \fBarchivemail --preserve-unread incoming\fR .fi .PP +.PP To archive all messages in the mailbox \fIreceived\fR that are older than 180 days to an uncompressed mailbox called \fIreceived_archive\fR in the current directory: @@ -352,6 +359,7 @@ are older than 180 days to an uncompressed mailbox called bash$ \fBarchivemail --no-compress received\fR .fi .PP +.PP To archive all mailboxes in the directory \fI$HOME/Mail\fR that are older than 90 days to compressed mailboxes in the \fI$HOME/Mail/Archive\fR directory: @@ -360,6 +368,7 @@ that are older than 90 days to compressed mailboxes in the bash$ \fBarchivemail -d90 -o $HOME/Mail/Archive $HOME/Mail/*\fR .fi .PP +.PP To archive all mails older than 180 days from the given \fBIMAP\fR INBOX to a compressed mailbox INBOX_archive.gz in the \fI$HOME/Mail/Archive\fR directory, quoting the password and diff --git a/archivemail.sgml b/archivemail.sgml index e1f5d43..a83999c 100644 --- a/archivemail.sgml +++ b/archivemail.sgml @@ -457,6 +457,7 @@ will probably remove unprotected quotes or backslashes. Examples + To archive all messages in the mailbox debian-user that are older than 180 days to a compressed mailbox called @@ -465,7 +466,9 @@ are older than 180 days to a compressed mailbox called bash$ archivemail debian-user + + To archive all messages in the mailbox debian-user that are older than 180 days to a compressed mailbox called @@ -475,7 +478,9 @@ year is April, 2002) in the current directory: bash$ archivemail --suffix '_%B_%Y' debian-user + + To archive all messages in the mailbox cm-melb that are older than the first of January 2002 to a compressed mailbox called @@ -484,14 +489,18 @@ are older than the first of January 2002 to a compressed mailbox called bash$ archivemail --date'1 Jan 2002' cm-melb + + Exactly the same as the above example, using an ISO date format instead: bash$ archivemail --date=2002-01-01 cm-melb + + To delete all messages in the mailbox spam that are older than 30 days: @@ -499,7 +508,9 @@ are older than 30 days: bash$ archivemail --delete --days=30 spam + + To archive all read messages in the mailbox incoming that are older than 180 days to a compressed mailbox called @@ -508,7 +519,9 @@ are older than 180 days to a compressed mailbox called bash$ archivemail --preserve-unread incoming + + To archive all messages in the mailbox received that are older than 180 days to an uncompressed mailbox called @@ -517,7 +530,9 @@ are older than 180 days to an uncompressed mailbox called bash$ archivemail --no-compress received + + To archive all mailboxes in the directory $HOME/Mail that are older than 90 days to compressed mailboxes in the @@ -526,7 +541,9 @@ that are older than 90 days to compressed mailboxes in the bash$ archivemail -d90 -o $HOME/Mail/Archive $HOME/Mail/* + + To archive all mails older than 180 days from the given Note the protected quotes. + -- cgit v1.2.3