summaryrefslogtreecommitdiffstats
path: root/vacuum
diff options
context:
space:
mode:
Diffstat (limited to 'vacuum')
-rwxr-xr-xvacuum3
1 files changed, 3 insertions, 0 deletions
diff --git a/vacuum b/vacuum
new file mode 100755
index 0000000..cd9f6f8
--- /dev/null
+++ b/vacuum
@@ -0,0 +1,3 @@
+#!/bin/zsh
+cd ~/.mozilla/firefox
+print -l **/*.sqlite | xargs -I {} (sqlite3 {} vacuum; sqlite3 {} reindex)