12 lines
222 B
Text
12 lines
222 B
Text
|
#
|
||
|
# Deletes .DS_Store and __MACOSX directories.
|
||
|
#
|
||
|
# Authors:
|
||
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||
|
#
|
||
|
|
||
|
find "${@:-$PWD}" \( \
|
||
|
-type f -name '.DS_Store' -o \
|
||
|
-type d -name '__MACOSX' \
|
||
|
\) -print0 | xargs -0 rm -rf
|