Last active
January 9, 2017 19:00
-
-
Save cesc1989/fc6bc8efbab601a6f517 to your computer and use it in GitHub Desktop.
Find command to delete AppleDouble files and .DS_Store files
This file contains hidden or 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
#!/bin/bash | |
find /path/to/folder -depth -name ".DS_Store" -exec rm {} \; | |
find /path/to/folder -depth -name "._*" -exec rm -Rf {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Found in http://mycyberuniverse.com/mac-os/find-and-remove-ds_store-and-appledouble.html