Re: Notmuch scripters rejoice! New "notmuch search --output=(...)"

Subject: Re: Notmuch scripters rejoice! New "notmuch search --output=(...)"

Date: Fri, 29 Oct 2010 09:13:03 +0200

To: notmuch@notmuchmail.org

Cc:

From: Sebastian Spaeth


On Thu, 28 Oct 2010 12:24:45 -0700, Carl Worth <cworth@cworth.org> wrote:
> 	--output=(summary|threads|messages|files|tags)

> 	for spamfile in $(notmuch search tag:spam); do
> 		rm $spamfile
> 	done

Wow, that is very useful thanks. This will creating scripts much easier
indeed.

As for count, I would leave that in, it's seems much nicer than a |wc -l

Thanks! Keep the good stuff coming.
Sebastian
part-000.sig (application/pgp-signature)

Thread: