Skip to content

Instantly share code, notes, and snippets.

@douglasmiranda
Created August 10, 2017 20:38
Show Gist options
  • Select an option

  • Save douglasmiranda/3db6f143077193e4e81356486eef4fa6 to your computer and use it in GitHub Desktop.

Select an option

Save douglasmiranda/3db6f143077193e4e81356486eef4fa6 to your computer and use it in GitHub Desktop.
Find and remove .DS_Store and .AppleDouble / (Useful for cleaning external storages)
find PATH/ -depth -name ".DS_Store" -exec rm {} \;
find PATH/ -depth -name ".AppleDouble" -exec rm -Rf {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment