notmuchsync: handling of the deleted tag

Jameson Rollins jrollins at finestructure.net
Sun Nov 14 19:01:09 PST 2010


On Fri, 12 Nov 2010 16:52:51 -0800, Carl Worth <cworth at cworth.org> wrote:
> This one is a simple one-liner as of notmuch 0.4:
> 
>     notmuch search --output=files tag:deleted -print0 | xargs -0 rm

Is -print0 actually a command that notmuch accepts?  It's not documented
as far as I can tell.  And it doesn't seem to affect the output of the
command, i.e. whether or not it's used the output is still newline
delimited.  I'm not seeing it in the source either.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20101114/4ddd0927/attachment.pgp>


More information about the notmuch mailing list