From: Thorsten Fischer <thorsten@net.t-labs.tu-berlin.de>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Delete email from Sup index
Date: Fri, 11 Feb 2011 14:25:01 +0000 [thread overview]
Message-ID: <1297433878-sup-5263@mail.froschi.org> (raw)
In-Reply-To: <1297428180-sup-8381@mail.univers-libre.net>
Excerpts from Romain Dessort's message of 2011-02-11 13:08:29 +0000:
> Is there a way to really remove emails from Index (and not mark them as
> 'deleted') ?
I have been through exactly that about ten minutes ago to get rid of
>40k index entries in my sup setup. Good timing! ;)
What I did:
* stopped the periodic polling of my offlineimap, just in case, to keep
the sources from changing.
* made a backup of my .sup/ folder, just in case.
* created a label dump file using sup-dump.
* deleted the .sup/xapian folder.
* run sup-sync with the --restore option, pointing to the dump file.
The index was re-created from the dump file, but only taking into
account the files that were currently available from the sources. Worked
like a charm. Better, in fact, since charms don't work at all. Ahem.
Yes, it would be great if there were a less convoluted way to do this.
Cheers,
t
--
Thorsten Fischer, BOWL Project Administrator
<thorsten@net.t-labs.tu-berlin.de>
Technische Universität Berlin, FG INET, TEL16, 18th floor
Ernst-Reuter-Platz 7, 10587 Berlin, Germany
Tel: +49 30 835358542, Fax: +49 391 53478347
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk
next prev parent reply other threads:[~2011-02-11 14:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-11 13:08 Romain Dessort
2011-02-11 14:25 ` Thorsten Fischer [this message]
2011-02-11 18:36 ` Romain Dessort
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=1297433878-sup-5263@mail.froschi.org \
--to=thorsten@net.t-labs.tu-berlin.de \
--cc=sup-talk@rubyforge.org \
/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