notmuchsync: handling of the deleted tag
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Mon Nov 15 08:48:05 PST 2010
On 11/15/2010 10:24 AM, servilio wrote:
> And "xargs -L1 ..." will solve the issue in a nicer way. So the above would be:
>
> notmuch search --output=files 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101115/09e17c49/attachment.pgp>
More information about the notmuch
mailing list