Discussion:
save multiple attachments at one time
Jeremy C. Reed
2008-03-04 21:20:49 UTC
Permalink
I often have emails with many attachments. Saving one at a time is slow.

Anyway to tell pine to save all at one time?

Maybe just choose a destination directory? And have pine generate a
filename if needed?

Jeremy C. Reed
Steve Hubert
2008-03-04 22:11:16 UTC
Permalink
Post by Jeremy C. Reed
I often have emails with many attachments. Saving one at a time is slow.
Anyway to tell pine to save all at one time?
Maybe just choose a destination directory? And have pine generate a
filename if needed?
Jeremy C. Reed
When you are viewing the message or in the message index type

E Export
^P AllParts
filename

The message will be saved in filename and the attachments will be in the
directory filename.d.

Steve
Matt Ackeret
2008-03-04 22:35:10 UTC
Permalink
Post by Steve Hubert
When you are viewing the message or in the message index type
E Export
^P AllParts
filename
The message will be saved in filename and the attachments will be in the
directory filename.d.
is this different in alpine? There's no ^P sub-command for me. (Not in the
menu and typing it doesn't do anything but print a ?)

I suspect what the original questioner wanted was to be able to select
multiple attachments and then save at once.

For me, just being able to make a different default save directory rather
than my home directory would be great. (I know that I can, and do,
actually put a full path even though the prompt says home directory, and
it works.. but the inconsistency irks me. I wish I could save in /tmp or
/Users/Shared or somewhere.)
Steve Hubert
2008-03-05 17:16:39 UTC
Permalink
Post by Matt Ackeret
Post by Steve Hubert
When you are viewing the message or in the message index type
E Export
^P AllParts
filename
The message will be saved in filename and the attachments will be in the
directory filename.d.
is this different in alpine? There's no ^P sub-command for me. (Not in the
menu and typing it doesn't do anything but print a ?)
It will only be there if there are attachments.
Post by Matt Ackeret
I suspect what the original questioner wanted was to be able to select
multiple attachments and then save at once.
This saves all attachments. There is no way to save a subset of
attachments.
Post by Matt Ackeret
For me, just being able to make a different default save directory rather
than my home directory would be great. (I know that I can, and do,
actually put a full path even though the prompt says home directory, and
it works.. but the inconsistency irks me. I wish I could save in /tmp or
/Users/Shared or somewhere.)
/tmp is fine.

E xport
^P
/tmp/xyz

should work.

Steve
Lucio Chiappetti
2008-03-05 17:46:56 UTC
Permalink
Post by Steve Hubert
Post by Steve Hubert
When you are viewing the message or in the message index type
E Export
^P AllParts
filename
The message will be saved in filename and the attachments will be in the
directory filename.d.
I was not aware of this feature, thanks for pointing it out.
Post by Steve Hubert
This saves all attachments. There is no way to save a subset of
attachments.
A partial workaround could possibly be to do V(iew) then D(eleting) some
attachments, then S(aving) the message to a separate temporary folder, and
doing the E(xport) ^P from there.

I guess the unwanted (deleted) attachments will be saved as dummy
placeholder text files. The way delete-attachment works when saving is to
replace them with a text-only short attachment like :

[ The following attachment was DELETED when this message was saved: ]
[ A Text/PLAIN segment of about 140 bytes, ]
[ described as "nuovo" ]

or

The following attachment was sent,
but NOT saved in the Fcc copy:
A Text/PLAIN (Name="newswire.density") segment of about 756 bytes.

Unfortunately (!) the only saved messages with more than 1 attachment I
can find in my folder are just of such type, because I have configured my
pine not to save sent attachments, and usually I manually save
attachments to external files, then delete them before saving the message.

So my test cannot be exhaustive :-)
--
-----------------------------------------------------------------------
Lucio Chiappetti - INAF/IASF - via Bassini 15 - I-20133 Milano (Italy)
For more info : http://www.iasf-milano.inaf.it/~lucio/personal.html
-----------------------------------------------------------------------
() ascii ribbon campaign - against html mail
/\ http://arc.pasp.de/
Jeremy C. Reed
2008-03-04 23:08:55 UTC
Permalink
Post by Steve Hubert
Post by Jeremy C. Reed
I often have emails with many attachments. Saving one at a time is slow.
Anyway to tell pine to save all at one time?
Maybe just choose a destination directory? And have pine generate a
filename if needed?
Jeremy C. Reed
When you are viewing the message or in the message index type
E Export
^P AllParts
filename
The message will be saved in filename and the attachments will be in the
directory filename.d.
Thanks Steve.

That worked fine for me to save all attachments. I didn't see that because
I already was in the attachments listing for "Saving" individual files. I
saw the ^P once I did the Export from the email itself.


Jeremy C. Reed
Loading...