X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=excluding.mdwn;h=4e54a85465fc3fa3ef80c73ef6c204ea4e076734;hb=1c209ef6745c86aa524153a14b7699df76cf0d26;hp=ef9b1a74ddfaa100e043386049edcea8c5b4a872;hpb=f7c13e2bb7479195e2b17332eaa40f999d546b0e;p=notmuch-wiki diff --git a/excluding.mdwn b/excluding.mdwn index ef9b1a7..4e54a85 100644 --- a/excluding.mdwn +++ b/excluding.mdwn @@ -48,7 +48,7 @@ be used to train a spam filter: It can also be used to purge mail files from disk: - $ notmuch search --format=text0 --output=files tag:deleted | xargs -0 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