aboutsummaryrefslogtreecommitdiff
path: root/scripts/gc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gc.sh')
-rwxr-xr-xscripts/gc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gc.sh b/scripts/gc.sh
index 9b98123..9670149 100755
--- a/scripts/gc.sh
+++ b/scripts/gc.sh
@@ -51,3 +51,8 @@ green "Done."
green "Disk space before and after:"
blue " before: ${before}"
blue " after: ${after}"
+
+# Clean up deleted email files:
+# Source: https://www.reddit.com/r/emacs/comments/6wqfp3/notmuch_delete_mail/
+# notmuch search --output=files --exclude=false tag:deleted | xargs -I{} rm "{}"
+# notmuch new