]> git.notmuchmail.org Git - notmuch-wiki/blobdiff - excluding.mdwn
news/release-0.23.2.mdwn
[notmuch-wiki] / excluding.mdwn
index b783383264cc4062ee38cfb870ce00e4ca7c8ea1..4e54a85465fc3fa3ef80c73ef6c204ea4e076734 100644 (file)
@@ -48,7 +48,7 @@ be used to train a spam filter:
 
 It can also be used to purge mail files from disk:
 
-        $ notmuch search --output=files tag:deleted | xargs -l rm
+        $ notmuch search --format=text0 --output=files tag:deleted | xargs -0 --no-run-if-empty rm
 
 Make sure you run "notmuch new" after the last command so the database
 becomes aware that the files have been removed and can remove the