aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2018-11-29 06:41:59 -0200
committerEuAndreh <eu@euandre.org>2018-11-29 06:41:59 -0200
commit420257bc76cacc0f50a85c2b9cafed9fae059452 (patch)
tree4e27475c0b617501029fa854d73856242e6d4b04 /scripts
parentSync emails in parallel. (diff)
downloaddotfiles-420257bc76cacc0f50a85c2b9cafed9fae059452.tar.gz
dotfiles-420257bc76cacc0f50a85c2b9cafed9fae059452.tar.xz
Add sample command for deleting emails.
Diffstat (limited to 'scripts')
-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