summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmacos/clean.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/macos/clean.sh b/macos/clean.sh
new file mode 100755
index 0000000..a50ee52
--- /dev/null
+++ b/macos/clean.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+sudo find /var/log/ -type f -exec rm -f {} \;
+sudo rm -f /Library/Logs/DiagnosticReports/*
+
+rm -f ~/Library/Application Support/CrashReporter/*
+rm -f ~/.bash_sessions/*
+
+exit 0