[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [nmh-workers] how might I make sequence 'bar' where 'bar' is all but
From: |
lambda |
Subject: |
Re: [nmh-workers] how might I make sequence 'bar' where 'bar' is all but msgs in seq 'foo'? |
Date: |
Wed, 13 Mar 2019 13:55:41 +0000 |
> Given a sequence 'foo', how can I get the complement, i.e. all messages in the
> folder, not in sequence 'foo'? I want to save the results to sequence 'bar'.
>
> I could write a shell script, but can this be done more directly?
You could use "mark -seq bar -zero -delete foo". When used with -delete
the -zero switch first adds all messages from the selected folder to the
sequence that is specified with -seq instead of first emptying that sequence.