Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id C0F38431FBC for ; Thu, 3 Dec 2009 11:27:00 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S4H4yAfK9cHg for ; Thu, 3 Dec 2009 11:26:59 -0800 (PST) Received: from pivot.cs.unb.ca (pivot.cs.unb.ca [131.202.240.57]) by olra.theworths.org (Postfix) with ESMTP id CC1D7431FAE for ; Thu, 3 Dec 2009 11:26:59 -0800 (PST) Received: from localhost ([127.0.0.1] helo=pivot.cs.unb.ca ident=bremner) by pivot.cs.unb.ca with esmtp (Exim 4.69) (envelope-from ) id 1NGHKM-0003E8-Q0 for notmuch@notmuchmail.org; Thu, 03 Dec 2009 15:26:59 -0400 Date: Thu, 03 Dec 2009 15:26:56 -0400 Message-ID: <87my1z97un.wl%bremner@pivot.cs.unb.ca> From: david@tethera.net To: notmuch@notmuchmail.org In-Reply-To: <87zl60xjl7.wl%bremner@pivot.cs.unb.ca> References: <87zl60xjl7.wl%bremner@pivot.cs.unb.ca> User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Sender-Verified: bremner@pivot.cs.unb.ca Subject: Re: [notmuch] hack to retag a directory X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 19:27:00 -0000 At Thu, 03 Dec 2009 09:39:32 -0400, david@tethera.net wrote: > I think this will be obsolete pretty soon when the equivalent is > built-in to notmuch, but in the mean time, here is a script that > somebody might find useful: retag a whole directory (recursively). I > don't claim it is nice in any way, but it seems usable for me, taking > about 5 seconds to retag a directory containing 1000 messages. Sigh. And of course the version I posted was broken. I put a fixed version at http://pivot.cs.unb.ca/git/?p=notmuch-scripts.git;a=blob_plain;f=tagdir;hb=HEAD You might, or might not also be interested in http://pivot.cs.unb.ca/git/?p=notmuch-scripts.git;a=blob_plain;f=gitmuch;hb=HEAD which is the beginnings of how to keep tags in git (for syncing between machines). Right now the notmuch restore step is the bottleneck, but Carl apparently knows how to speed 'notmuch restore' up. d