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