summaryrefslogtreecommitdiffstats
path: root/clean
diff options
context:
space:
mode:
Diffstat (limited to 'clean')
-rwxr-xr-xclean4
1 files changed, 4 insertions, 0 deletions
diff --git a/clean b/clean
new file mode 100755
index 0000000..5680003
--- /dev/null
+++ b/clean
@@ -0,0 +1,4 @@
+#! /bin/sh
+DIR=${1:-$HOME}
+echo "find $DIR -name '*~' -exec rm '{}' \;"
+find $DIR -name '*~' -exec rm '{}' \;