diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-06-11 17:09:43 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-06-11 17:09:43 +0200 |
commit | 7d03636e06c8c10f7bd313a28bb09836299d9d1c (patch) | |
tree | 7519e3784506054d6532e92b1b57c9b2cced67e6 | |
parent | 862635a269550fe74c6a007aa0d92b930b5ef260 (diff) | |
download | bin-7d03636e06c8c10f7bd313a28bb09836299d9d1c.zip bin-7d03636e06c8c10f7bd313a28bb09836299d9d1c.tar.gz |
improve clean to search and destroy osx craps
-rwxr-xr-x | clean | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 '{}' \; |