Last active
April 2, 2016 01:12
-
-
Save cillosis/4664270 to your computer and use it in GitHub Desktop.
Remove ._. and .DS_* files from folder on Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f \( -iname "._*" \) -exec svn delete {} \; | |
find . -type f \( -iname ".DS_*" \) -exec svn delete {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I should mention this is for subversion repositories. Do an -exec to rm -f for regular folders.