1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 10:18:00 +00:00
prezto/modules/osx/functions/osx-rm-dir-metadata
2014-02-16 18:00:47 -05:00

12 lines
222 B
Plaintext

#
# 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