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 A7EFC40DBDA for ; Mon, 15 Nov 2010 08:48:24 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, UNPARSEABLE_RELAY=0.001] autolearn=ham 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 mlQarLqJZCKw for ; Mon, 15 Nov 2010 08:48:13 -0800 (PST) Received: from rodolpho.mayfirst.org (mail.freitas.net [209.234.253.107]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id E4F7340DBC8 for ; Mon, 15 Nov 2010 08:48:12 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by rodolpho.mayfirst.org (Postfix) with ESMTP id 42E933CD52 for ; Mon, 15 Nov 2010 11:48:10 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at rodolpho.mayfirst.org Received: from rodolpho.mayfirst.org ([127.0.0.1]) by localhost (rodolpho.mayfirst.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L912hZmMB1IV for ; Mon, 15 Nov 2010 11:48:10 -0500 (EST) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: smtpauth@rodolpho.mayfirst.org) with ESMTPSA id DAAD23CD45 Message-ID: <4CE16445.6040504@fifthhorseman.net> Date: Mon, 15 Nov 2010 11:48:05 -0500 From: Daniel Kahn Gillmor User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.9) Gecko/20100918 Icedove/3.1.4 MIME-Version: 1.0 To: Notmuch developer list Subject: Re: notmuchsync: handling of the deleted tag References: <87bp7vewa5.fsf@raven.defaultvalue.org> <87mxrcsb8a.fsf@SSpaeth.de> <87r5gnomt2.fsf@raven.defaultvalue.org> <87hbfnmiux.fsf@yoom.home.cworth.org> <87oc9vf17n.fsf@SSpaeth.de> <87pqua82os.fsf@yoom.home.cworth.org> <87vd3z7dhm.fsf@SSpaeth.de> <7nlj4vqt02.fsf@revenuewire.com> <87d3q7e19f.fsf@servo.finestructure.net> In-Reply-To: X-Enigmail-Version: 1.1.2 OpenPGP: id=D21739E9 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigCB9C4CA92646DBDB5F3EB386" X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: notmuch List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 16:48:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigCB9C4CA92646DBDB5F3EB386 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 11/15/2010 10:24 AM, servilio wrote: > And "xargs -L1 ..." will solve the issue in a nicer way. So the above w= ould be: >=20 > notmuch search --output=3Dfiles tag:deleted | xargs -L1 rm Assuming none of your mail filenames have newlines or trailing whitespace, that is. I'd like to make that kind of assumption, myself. But I've certainly seen files that violate it (not from any maildir implementation, though).= --dkg --------------enigCB9C4CA92646DBDB5F3EB386 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQIcBAEBCgAGBQJM4WRFAAoJEMzS7ZTSFznpK2sP+QEoZRX2V3z5/ugY+rUc1Aus spzlNbQ4JfreuhiyPt385UMPUTxp1bi1h1upBnGitW0WVwCwI2D41VnSnDdY4vgp vRRmMN9TRJcqae9fefrZeRhumtHK9RNF3omRV1faugt7PXlRkcb3I+7l0xYowp0v hF6NwxGNBR09d9khsjBN6bR+zBV9J/zHPc/K4H9Y6n3PThzipfnYGKLUxrLqvCO8 32oByoGOeOf30RpN7vmxp/dkj5ZSOdZnK2jmwGu7B+8oAyy1GOAbYgcVsxbnLgz/ szl9JWZn6UuJuTCFtJgmVounPXq2T51EAOBD62UTQ2hFruzUCvVvf7TkcDaS2d/U unJyWAEG3LrTzltwDXQ8yknBfrmWrFCUQGxZmX43hfpbCZkw46OCUrx+9xGE/YC/ qzGzednlwI5d9ojXFIMTRqz/r6bTuJIVPHU2xSrduAwPmzYuJ3IoUANMO9Oo9R07 avg9G/vr668Etiih1hx6Q44fsz4u8nGA23W0zebj3kI9n+ZydaBivZ2is6DFwr6u abYDDKV3pW729E4hqnPGcnnrTR2C28rLRgJge8hClqy0X6cnCsYO2Dcdt7zBxQMt CsVYDQMUe3EwRmZPCAKZBsSoo4vonWVmDvK8RRBSe3MldfttXNnyCIDZK+MrpfLj XwGFz8O4kiWVkfLJFkEY =NLrQ -----END PGP SIGNATURE----- --------------enigCB9C4CA92646DBDB5F3EB386--