Skip to content

Instantly share code, notes, and snippets.

@cillosis
Last active April 2, 2016 01:12
Show Gist options
  • Save cillosis/4664270 to your computer and use it in GitHub Desktop.
Save cillosis/4664270 to your computer and use it in GitHub Desktop.
Remove ._. and .DS_* files from folder on Mac OS X
find . -type f \( -iname "._*" \) -exec svn delete {} \;
find . -type f \( -iname ".DS_*" \) -exec svn delete {} \;
@cillosis
Copy link
Author

I should mention this is for subversion repositories. Do an -exec to rm -f for regular folders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment