Skip to content

Instantly share code, notes, and snippets.

@willwade
Created March 11, 2012 07:56
Show Gist options
  • Save willwade/2015496 to your computer and use it in GitHub Desktop.
Save willwade/2015496 to your computer and use it in GitHub Desktop.
Remove mac files from a dir
#!/bin/sh
find . -name .DS_Store -o -name .Trashes -o -name ._* -exec rm -rf {} \; -prune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment