1 Return-Path: <servilio@gmail.com>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 5C7BA40DDCA
\r
6 for <notmuch@notmuchmail.org>; Mon, 15 Nov 2010 07:24:54 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
\r
13 DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id i7x8FH9HO210 for <notmuch@notmuchmail.org>;
\r
18 Mon, 15 Nov 2010 07:24:42 -0800 (PST)
\r
19 Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com
\r
20 [74.125.82.41]) by olra.theworths.org (Postfix) with ESMTP id 4A50B40DDC4 for
\r
21 <notmuch@notmuchmail.org>; Mon, 15 Nov 2010 07:24:42 -0800 (PST)
\r
22 Received: by wwe15 with SMTP id 15so256248wwe.2
\r
23 for <notmuch@notmuchmail.org>; Mon, 15 Nov 2010 07:24:41 -0800 (PST)
\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
\r
25 h=domainkey-signature:mime-version:received:received:in-reply-to
\r
26 :references:date:message-id:subject:from:to:cc:content-type
\r
27 :content-transfer-encoding;
\r
28 bh=Aucccnj9LnFjiimz9rlMzuIeY+anNh8XtHbSbxZDiJU=;
\r
29 b=HQny+8Hgwdg9F3vPEkyrAPp0oc0cIZDHstRVOue9nla3waaEhefn7bxTULYxIzjYUD
\r
30 UnmOwj2/851mnf6SOf817RsEXYIm4dpFWAQQPwyMpqpTNCzNV+NC6u0NMnCNZW3pjbR8
\r
31 3bCxJCaOE6UXm9rnkkA+MVyL2P0TP7r6jtHGo=
\r
32 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
\r
33 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
\r
34 :cc:content-type:content-transfer-encoding;
\r
35 b=ScMku1/BvkgNNkiKbuhQdhVWWwEiHa76CS27ijABDBOmHBARUCXvjNIbJlFp+xtI8n
\r
36 2CFDL2osTvvOscvKh2xXUIGKAH2F75Rs+0HKPwWurppShw1vk1bc5AxZTOor9NOZcZX3
\r
37 ECYhrLXf3R0ymYlccRS9iuErQEykizthTiaeE=
\r
39 Received: by 10.227.7.90 with SMTP id c26mr6337713wbc.83.1289834681398; Mon,
\r
40 15 Nov 2010 07:24:41 -0800 (PST)
\r
41 Received: by 10.216.186.69 with HTTP; Mon, 15 Nov 2010 07:24:41 -0800 (PST)
\r
42 In-Reply-To: <87d3q7e19f.fsf@servo.finestructure.net>
\r
43 References: <87bp7vewa5.fsf@raven.defaultvalue.org>
\r
44 <87mxrcsb8a.fsf@SSpaeth.de> <87r5gnomt2.fsf@raven.defaultvalue.org>
\r
45 <87hbfnmiux.fsf@yoom.home.cworth.org> <87oc9vf17n.fsf@SSpaeth.de>
\r
46 <m34obmdzjj.fsf@x201s.gr8dns.org> <87pqua82os.fsf@yoom.home.cworth.org>
\r
47 <87vd3z7dhm.fsf@SSpaeth.de> <7nlj4vqt02.fsf@revenuewire.com>
\r
48 <87d3q7e19f.fsf@servo.finestructure.net>
\r
49 Date: Mon, 15 Nov 2010 10:24:41 -0500
\r
50 Message-ID: <AANLkTikwUqaNV_jnSX+M4N+huhqqjW=Cj0R9-UJ_7Mxc@mail.gmail.com>
\r
51 Subject: Re: notmuchsync: handling of the deleted tag
\r
52 From: servilio <servilio@gmail.com>
\r
53 To: Jameson Rollins <jrollins@finestructure.net>
\r
54 Content-Type: text/plain; charset=ISO-8859-1
\r
55 Content-Transfer-Encoding: quoted-printable
\r
56 Cc: Notmuch developer list <notmuch@notmuchmail.org>
\r
57 X-BeenThere: notmuch@notmuchmail.org
\r
58 X-Mailman-Version: 2.1.13
\r
60 List-Id: "Use and development of the notmuch mail system."
\r
61 <notmuch.notmuchmail.org>
\r
62 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
63 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
64 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
65 List-Post: <mailto:notmuch@notmuchmail.org>
\r
66 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
67 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
68 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
69 X-List-Received-Date: Mon, 15 Nov 2010 15:24:54 -0000
\r
71 On 14 November 2010 22:03, Jameson Rollins <jrollins@finestructure.net> wro=
\r
74 > I think the 'print0' might have been a mistake on Carl's part. =A0I don't
\r
75 > think that option is actually supported by notmuch. =A0In which case xarg=
\r
77 > -0 isn't going to work as expected because there are no null characters
\r
78 > in the input stream to use as delimiters.
\r
80 >> So for anyone else who is stuck adjusting the one liner like
\r
81 >> notmuch search --output=3Dfiles tag:deleted -print0 | xargs -d '\n' rm
\r
83 > This is working because the input stream is newline delimited. =A0So I
\r
84 > think the -print0 is confusing the issue.
\r
86 And "xargs -L1 ..." will solve the issue in a nicer way. So the above would=
\r
89 notmuch search --output=3Dfiles tag:deleted | xargs -L1 rm
\r