database error
[notmuch-archives.git] / dc / d48166e8d83e48531e576c5930c935974d5b70
1 Return-Path: <jrichards@revenuewire.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 144FC40DBC0\r
6         for <notmuch@notmuchmail.org>; Sun, 14 Nov 2010 17:33:50 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] 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 hPuWnkukrohA for <notmuch@notmuchmail.org>;\r
16         Sun, 14 Nov 2010 17:33:36 -0800 (PST)\r
17 X-Greylist: delayed 577 seconds by postgrey-1.32 at olra;\r
18         Sun, 14 Nov 2010 17:33:36 PST\r
19 Received: from idcmail-mo2no.shaw.ca (idcmail-mo2no.shaw.ca [64.59.134.9])\r
20         by olra.theworths.org (Postfix) with ESMTP id 93A0040DDE7\r
21         for <notmuch@notmuchmail.org>; Sun, 14 Nov 2010 17:33:36 -0800 (PST)\r
22 Received: from pd6ml1no-ssvc.prod.shaw.ca ([10.0.153.160])\r
23         by pd5mo1no-svcs.prod.shaw.ca with ESMTP; 14 Nov 2010 18:23:57 -0700\r
24 X-Cloudmark-SP-Filtered: true\r
25 X-Cloudmark-SP-Result: v=1.1 cv=sma64emKALigICJU+V2L7RL3kPAolu7RCFSKDgo279k=\r
26         c=1 sm=1\r
27         a=-tKy-MdvZ4YA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10\r
28         a=fZIboY/cEU6l/H7GC6ozQQ==:17 a=7343-z1_AAAA:8 a=RSj82B_RAAAA:8\r
29         a=bNqfXUKSxoebeDiaU3sA:9 a=lT31I-HbELEZxjlWurHYGNvwOl4A:4\r
30         a=CjuIK1q_8ugA:10\r
31         a=WuyvyjOq3N8A:10 a=0c-eHkXYtrgA:10 a=Z9YHovozsoYA:10\r
32         a=HpAAvcLHHh0Zw7uRqdWCyQ==:117\r
33 Received: from unknown (HELO localhost) ([96.50.110.35])\r
34         by pd6ml1no-dmz.prod.shaw.ca with ESMTP; 14 Nov 2010 18:23:57 -0700\r
35 From: Jeff Richards <jrichards@revenuewire.com>\r
36 To: Notmuch developer list <notmuch@notmuchmail.org>\r
37 Subject: Re: notmuchsync: handling of the deleted tag\r
38 In-Reply-To: <87vd3z7dhm.fsf@SSpaeth.de>\r
39 References: <87bp7vewa5.fsf@raven.defaultvalue.org>\r
40  <87mxrcsb8a.fsf@SSpaeth.de>    <87r5gnomt2.fsf@raven.defaultvalue.org>\r
41         <87hbfnmiux.fsf@yoom.home.cworth.org>   <87oc9vf17n.fsf@SSpaeth.de>\r
42  <m34obmdzjj.fsf@x201s.gr8dns.org>      <87pqua82os.fsf@yoom.home.cworth.org>\r
43  <87vd3z7dhm.fsf@SSpaeth.de>\r
44 User-Agent: Notmuch/0.5 (http://notmuchmail.org) Emacs/23.2.1\r
45         (i486-pc-linux-gnu)\r
46 Date: Sun, 14 Nov 2010 17:23:57 -0800\r
47 Message-ID: <7nlj4vqt02.fsf@revenuewire.com>\r
48 MIME-Version: 1.0\r
49 Content-Type: text/plain; charset=us-ascii\r
50 X-BeenThere: notmuch@notmuchmail.org\r
51 X-Mailman-Version: 2.1.13\r
52 Precedence: list\r
53 List-Id: "Use and development of the notmuch mail system."\r
54         <notmuch.notmuchmail.org>\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
56         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
58 List-Post: <mailto:notmuch@notmuchmail.org>\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
61         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
62 X-List-Received-Date: Mon, 15 Nov 2010 01:33:50 -0000\r
63 \r
64 On Sun, 14 Nov 2010 23:21:41 +0100, Sebastian Spaeth <Sebastian@SSpaeth.de> wrote:\r
65 > This one is a simple one-liner as of notmuch 0.4:\r
66 > > \r
67 > >     notmuch search --output=files tag:deleted -print0 | xargs -0 rm\r
68\r
69 \r
70 Having just switched from notmuchsync the synchronizing power of 0.5 and\r
71 being as how I'm missing the pruning feature I gave this a try and found\r
72 that I ended up with rm complaining that the file name length being too\r
73 long or simply file not found.  Seems like the  \r
74 xargs -0 rm \r
75 portion was choking as all the file names were being contcatenated.\r
76 Perhaps the null character line ending is missing?  At this point I\r
77 haven't investigated further.    \r
78 \r
79 So for anyone else who is stuck adjusting the one liner like \r
80 notmuch search --output=files tag:deleted -print0 | xargs -d '\n' rm\r
81 \r
82 worked for me.\r
83 \r
84 PS Thanks to Sebastian and Carl and everyone else who has built notmuch\r
85 I'm really enjoying using it! :)\r
86 \r
87 Jeff\r
88 \r
89 \r
90 > Uhh, that is a neat line, and a neat trick. (is it on the emacstips page\r
91 > already? ;-))\r
92 \r
93 \r
94\r
95 > Sebastian\r
96 Non-text part: application/pgp-signature\r
97 > _______________________________________________\r
98 > notmuch mailing list\r
99 > notmuch@notmuchmail.org\r
100 > http://notmuchmail.org/mailman/listinfo/notmuch\r
101 \r
102 -- \r
103 Jeff Richards\r
104 jrichards@revenuewire.com\r
105 \r
106 \r