summaryrefslogtreecommitdiffstats
path: root/.bin/dot-clean
diff options
context:
space:
mode:
Diffstat (limited to '.bin/dot-clean')
-rwxr-xr-x.bin/dot-clean7
1 files changed, 7 insertions, 0 deletions
diff --git a/.bin/dot-clean b/.bin/dot-clean
new file mode 100755
index 0000000..5b326ea
--- /dev/null
+++ b/.bin/dot-clean
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+clean_files="*.core"
+
+for file in ${clean_files}; do
+ find "${HOME}" -maxdepth 2 -iname "*.core" -exec rm {} \;
+done
remember that computers suck.