9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Russ Cox" <rsc@swtch.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] delete mail from mailfs via script
Date: Fri, 18 May 2007 10:00:55 -0400	[thread overview]
Message-ID: <20070518140047.DA4691E8C26@holo.morphisms.net> (raw)
In-Reply-To: <f9541da572cc935bda7d42400f24589a@mteege.de>

> I read my email with p9ps acme and mailfs and searching  for
> a  possibility to delete mails via script. Would be nice if I can
> "blacklist" some threads. There are a "ctl" and a "search" file in the
> mbox but I don't know exactly how to use both.

The search file is unused (but implemented).
The idea is you write a search string
and read back a list of message ids.

The ctl file allows bulk deletion - you write
  delete 1 2 3 4 5
and it deletes the messages with those ids.

Russ



  reply	other threads:[~2007-05-18 14:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-18  7:32 Matthias Teege
2007-05-18 14:00 ` Russ Cox [this message]
2007-05-18 14:20   ` erik quanstrom
2007-05-21 22:48   ` Enrico Weigelt
2007-05-21 23:03     ` Russ Cox
2007-05-21 23:11       ` Felipe Bichued
2007-05-23 16:24   ` ron minnich
2007-05-23 16:50     ` Russ Cox
2007-05-23 16:53       ` ron minnich
2007-05-23 16:58         ` Russ Cox
2007-05-23 17:04           ` Sape Mullender
2007-05-23 17:07           ` Skip Tavakkolian
2007-05-23 18:05             ` David Leimbach
2007-05-23 17:02         ` Skip Tavakkolian
2007-05-23 18:03     ` David Leimbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070518140047.DA4691E8C26@holo.morphisms.net \
    --to=rsc@swtch.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).