[Alpine-info] saving index/printing to file?
Andrew C Aitchison via Alpine-info
alpine-info at u.washington.edu
Tue Jun 10 23:29:24 PDT 2025
On Tue, 10 Jun 2025, Matt Ackeret via Alpine-info wrote:
>
> I see that if I turn this on:
> [X] Print Index Enabled
>
> then I can use the % print command from the INDEX screen.. and I see I can even set up multiple printers, even a custom command..
>
> but I don't see quite exactly how to do what I want:
>
> What I'd really like it to be able to save my current INDEX screen (e.g. selected messages) to a file..
> if it's some randomly generated filename in /tmp, fine..
>
> just so I can get a specific list of messages in a file that I can then do some
> other things on them (e.g. pipe to some cut commands then sort then unique)
> to figure out some specific things from subjects of messages I save.
>
> Can someone explain how to do that, get print to go to some filename, even if
> it's the SAME filename always (but preferably not)?
> thanks.
Use a custom printer with the value
cat > /path/to/my/printout
This should work on unix and mac,
but would need changing on windows.
Note that this file will contain the whole index of the
folder, not just the portion that was on the screen.
--
Andrew C. Aitchison Kendal, UK
andrew at aitchison.me.uk
More information about the Alpine-info
mailing list