Skip to content

Instantly share code, notes, and snippets.

@cesc1989
Last active January 9, 2017 19:00
Show Gist options
  • Save cesc1989/fc6bc8efbab601a6f517 to your computer and use it in GitHub Desktop.
Save cesc1989/fc6bc8efbab601a6f517 to your computer and use it in GitHub Desktop.
Find command to delete AppleDouble files and .DS_Store files
#!/bin/bash
find /path/to/folder -depth -name ".DS_Store" -exec rm {} \;
find /path/to/folder -depth -name "._*" -exec rm -Rf {} \;
@cesc1989
Copy link
Author

@cesc1989
Copy link
Author

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