1 Return-Path: <jrollins@finestructure.net>
\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 6769B40DBDA
\r
6 for <notmuch@notmuchmail.org>; Sun, 14 Nov 2010 19:04:12 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-1.89 tagged_above=-999 required=5
\r
12 tests=[BAYES_00=-1.9, T_MIME_NO_TEXT=0.01] autolearn=ham
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id gIkqJ7ptopa6 for <notmuch@notmuchmail.org>;
\r
16 Sun, 14 Nov 2010 19:04:01 -0800 (PST)
\r
17 Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 3F29C40DBC8
\r
19 for <notmuch@notmuchmail.org>; Sun, 14 Nov 2010 19:04:01 -0800 (PST)
\r
20 Received: from servo.finestructure.net (cpe-74-66-82-137.nyc.res.rr.com
\r
22 (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)
\r
23 by tarap.cc.columbia.edu (8.14.4/8.14.3) with ESMTP id oAF33vbV020982
\r
24 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
25 Sun, 14 Nov 2010 22:03:59 -0500 (EST)
\r
26 Received: from jrollins by servo.finestructure.net with local (Exim 4.72)
\r
27 (envelope-from <jrollins@finestructure.net>)
\r
28 id 1PHpML-0003Zx-Hb; Sun, 14 Nov 2010 22:03:57 -0500
\r
29 From: Jameson Rollins <jrollins@finestructure.net>
\r
30 To: Jeff Richards <jrichards@revenuewire.com>,
\r
31 Notmuch developer list <notmuch@notmuchmail.org>
\r
32 Subject: Re: notmuchsync: handling of the deleted tag
\r
33 In-Reply-To: <7nlj4vqt02.fsf@revenuewire.com>
\r
34 References: <87bp7vewa5.fsf@raven.defaultvalue.org>
\r
35 <87mxrcsb8a.fsf@SSpaeth.de> <87r5gnomt2.fsf@raven.defaultvalue.org>
\r
36 <87hbfnmiux.fsf@yoom.home.cworth.org> <87oc9vf17n.fsf@SSpaeth.de>
\r
37 <m34obmdzjj.fsf@x201s.gr8dns.org> <87pqua82os.fsf@yoom.home.cworth.org>
\r
38 <87vd3z7dhm.fsf@SSpaeth.de> <7nlj4vqt02.fsf@revenuewire.com>
\r
39 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1
\r
41 Date: Sun, 14 Nov 2010 22:03:56 -0500
\r
42 Message-ID: <87d3q7e19f.fsf@servo.finestructure.net>
\r
44 Content-Type: multipart/signed; boundary="=-=-=";
\r
45 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
46 X-No-Spam-Score: Local
\r
47 X-Scanned-By: MIMEDefang 2.68 on 128.59.29.7
\r
48 X-BeenThere: notmuch@notmuchmail.org
\r
49 X-Mailman-Version: 2.1.13
\r
51 List-Id: "Use and development of the notmuch mail system."
\r
52 <notmuch.notmuchmail.org>
\r
53 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
54 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
55 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
56 List-Post: <mailto:notmuch@notmuchmail.org>
\r
57 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
58 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
60 X-List-Received-Date: Mon, 15 Nov 2010 03:04:12 -0000
\r
63 Content-Transfer-Encoding: quoted-printable
\r
65 On Sun, 14 Nov 2010 17:23:57 -0800, Jeff Richards <jrichards@revenuewire.co=
\r
67 > Having just switched from notmuchsync the synchronizing power of 0.5 and
\r
68 > being as how I'm missing the pruning feature I gave this a try and found
\r
69 > that I ended up with rm complaining that the file name length being too
\r
70 > long or simply file not found. Seems like the=20=20
\r
72 > portion was choking as all the file names were being contcatenated.
\r
73 > Perhaps the null character line ending is missing? At this point I
\r
74 > haven't investigated further.=20=20=20=20
\r
76 I think the 'print0' might have been a mistake on Carl's part. I don't
\r
77 think that option is actually supported by notmuch. In which case xargs
\r
78 =2D0 isn't going to work as expected because there are no null characters
\r
79 in the input stream to use as delimiters.
\r
81 > So for anyone else who is stuck adjusting the one liner like=20
\r
82 > notmuch search --output=3Dfiles tag:deleted -print0 | xargs -d '\n' rm
\r
84 This is working because the input stream is newline delimited. So I
\r
85 think the -print0 is confusing the issue.
\r
90 Content-Type: application/pgp-signature
\r
92 -----BEGIN PGP SIGNATURE-----
\r
93 Version: GnuPG v1.4.10 (GNU/Linux)
\r
95 iQIcBAEBCAAGBQJM4KMcAAoJEO00zqvie6q8tkgP/3qXi6f5puQ1LP+esjac9MHn
\r
96 C58gtHu30fqntNM49W2T78lpmltsQnO8hVFV72tFUL8oF1WUygaFYh0M7SihEGpX
\r
97 TKZax9kWdfNpGS5zjtQ/qBDy6Xqf1QRRneEbfaxEKAHcsGa3OGbG8s+RRcTezPtg
\r
98 9+ikzzmC2vr8Vfb6g7qvUqzYMVS2Xv/zKJ1dvmmc5nnTmzof5hTn8iTNLrgNpVgH
\r
99 FWRfRKL5xUIKN3kObyWKGpryEkqOW8mQ47tc/3fBI64fG8wYexZDO39wgO8uXUZL
\r
100 FJn+2wOWmR7IUxP7B+afl0hcwmFEmMZvkTcLc9o8gFnO5DpTArCdZBhsPEIRQ85H
\r
101 aCsV4qIw3OpvVOCjqjPxR2JwW59gD/VBCnddaNTaEK/kh0kgV24RH3y/J5MBnhWn
\r
102 Ym/RO+FU7C8W45j1bHNgFxuch06rEWiUdhaXZoofTnyNXudzIim91iNEXb8tETci
\r
103 rBnDl+KIiEXK/G0R/kpm89X6rgIr4AlMoJaIj1D9a+9AUOSJiP54d9TtdFr3esje
\r
104 B7SzGRlnjkQZBjBoGVityRdb42JVp1hCb9iqF7Y+EKVFmp2U61k1Dn1iVJ6zRYjS
\r
105 ywPIHp1TreCcp+i/2SGhHVeWE+MkWheIfS8euVoFE+vEPVjhKhjIqn8jlvy+sreR
\r
106 Ay8E2rP3CkorEUVA7E64
\r
108 -----END PGP SIGNATURE-----
\r