ARCHIVED: In Pine, how do I perform an action (like saving or printing) on a large number of messages at once?
Note: Pine is not available on any central UITS systems. UITS does not support the use of Pine at Indiana University.
Note: The software discussed here is no longer in common use at IU, and UITS may no longer be able to verify this text's accuracy; additionally, the UITS Support Center may no longer have the materials needed to adequately support this software.
To define a group of messages and perform an action on all of them in Pine, use the Select and Apply commands.
Note: You may have to configure Pine first. See ARCHIVED: In Pine, how do I enable aggregate commands?
Selecting messages
To select a group of messages, from Pine's Folder Index screen, press
;
(the semicolon). Pine will present a
SELECT criteria:
prompt and nine different options:
- A select All: Press
a
to select all of the messages. - C [select Cur]: Press
c
to select only the currently highlighted message. - N Number: Press
n
and then enter the numbers of the messages you want selected. You can enter a comma-delimited list (e.g.,1,5,19,25
), a range of numbers (e.g.,1-25
), or a combination of the two. For example, if you entered1,5,10-19,25
, that would select messages 1, 5, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, and 25. - D Date: Press
d
to select messages by the date they arrived. Enter the date of the message in the format Day-Month-Year (e.g.,17-Sep-2004
). To toggle between selecting messages arriving on, before, or after that date, pressCtrl-w
. To advance the date by one day, pressCtrl-n
. To move the date back by one day, pressCtrl-p
. To select the date of the currently highlighted message, pressCtrl-x
. - K Keyword: If you have keywords set in Pine,
press
k
and then enter the keyword you would like to match. If you press the exclamation point (!
) it will select any message that doesn't match the keyword you enter. You may also pressCtrl-t
to select from your list of keywords. - R Rule: If you have rules set in Pine, press
r
and then enter the rule you would like to match. If you press the exclamation point (!
) it will select any message that doesn't match the rule you enter. You may also pressCtrl-t
to select from your list of rules. - T Text: Press
t
to select messages based on text that appears in the message and/or its headers. When you make this selection, Pine will further prompt you to choose between matching text that appears in the "From:" header (pressf
), the "To:" header (presst
), the "Cc:" header (pressc
), or the "Subject:" header (presss
). You may also choosea
to search the entire message (the text of the message as well as all headers). Choosep
for Participants, which matches text in the "From:", "To:", and "Cc:" headers. - S Status: Press
s
and choose whether you want to select messages that are New (pressn
), Answered (pressa
), marked for deletion (pressd
), or marked as important (press*
, the asterisk). If you press!
(the exclamation point) before you make one of the previous selections, you can select messages that are not New, Answered, marked for deletion, or marked as important. - Z siZe: Press
z
and select messages by their size. PressCtrl-w
to toggle between selecting for messages larger and smaller than the number you enter. If you add aK
(uppercase K) to the end of the number you enter, it will select for kilobytes instead of bytes. Add anM
(uppercase M) and it will select for megabytes.
In all cases, if you press Ctrl-c
, you will exit
the Select menu. When you make your selection, all messages that meet
the criteria will be marked with an "X". If you press
z
, Pine will show only those messages that
you have selected. If you press z
again,
Pine will return to showing all of the messages in the folder.
Changing the selection
If you press ;
(the semicolon) again after
making a selection, Pine will give you the following options to alter
your selection:
- A unselect All: Press
a
to deselect all of the messages you have selected. - C [unselect Cur]: Press
c
to deselect the message currently highlighted. - F Flip selected: Press
f
to deselect selected messages and select deselected messages. - B Broaden selctn: Press
b
and you will be able to increase your selection by searching for matches in currently unselected messages. - N Narrow selctn: Press
n
to shrink the list of selected messages by searching them for additional criteria.
Applying commands to the selection
Once you have your list of selected messages, press
a
to apply a command to all of them. In most
cases, the commands work on the selection the same way they do on
individual messages. You can apply these commands:
- B Bounce: Press
b
to redirect the selected messages to an email address. - D Del: Press
d
to mark all the selected messages for deletion. - U Undel: Press
u
to unmark messages tagged for deletion. - R Reply: Press
r
to Reply to the senders of all the selected messages. - F Forward: Press
f
to Forward the messages in the selection to an email address, either as an attachment (MIME Digest) or in the text of a message. - Y PrYnt or % Print: Depending on your version of
Pine, press either
y
or%
to send all of the selected messages to a printer. - T TakeAddr: Press
t
to put email addresses appearing in the selected messages into a Pine Address Book distribution list. - S Save: Press
s
to Save all the selected messages into a single mail folder. - E Export: Press
e
to save all the messages into a file on your account. - * Flag: Press
*
(the asterisk) to mark all of the messages as new, deleted, answered, or important. After you have pressed*
(the asterisk), you can press!
(the exclamation point) to flag messages as not new, deleted, answered, or important. - | Pipe: Press
|
(the pipe key, which is directly below theBackspace
key) to pipe the contents of the selected messages into a Unix command.
Press Ctrl-c
to cancel any Apply command.
An example
User dvader
wants to save to the folder
darkside
all mail messages in his Inbox that mention the
word "sith", and messages that are from
palpatine@empire.gov
delivered on or after
November 30, 2004. To do this, he would take these steps:
- From Pine's Folder Index screen,
dvader
presses;
(the semicolon) to bring up theSELECT criteria:
prompt. - He presses
t
for Text and thenf
for From. Then he enters the addresspalpatine@empire.gov
. All messages from the userpalpatine@empire.gov
will be marked as selected. - As he doesn't want to see messages delivered before November 30,
2004,
dvader
presses;
(the semicolon) to refine his search. He pressesn
to narrow his search and thend
to search by Date. He enters30-Nov-2004
(the search date in the proper format). Then he pressesCtrl-w
until the select prompt indicates it will select messages arriving since that date. When he pressesEnter
, only messages frompalpatine@empire.gov
arriving no earlier than November 30, 2004 will be selected. - To include messages with the word "sith" in them, he again presses
;
(the semicolon), but this time pressesb
to broaden his selection. He pressest
to indicate that he is searching the Text of the messages, anda
to search all of the text and headers of the messages. He then enterssith
. Now he has the selection he wants. - To save the messages to the folder
darkside
, he pressesa
to Apply a command to the selection and thens
to Save the messages. He entersdarkside
as the name of the folder. The messages will be saved to that folder and will be marked as deleted indvader
's Inbox.
This is document afsx in the Knowledge Base.
Last modified on 2018-01-18 10:09:10.