Skip to content

Instantly share code, notes, and snippets.

@kn100
Created May 4, 2015 08:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kn100/e45c8a521daeccd383d0 to your computer and use it in GitHub Desktop.
Save kn100/e45c8a521daeccd383d0 to your computer and use it in GitHub Desktop.
AppleDouble turd cleanser - For windows!
PCT: A command to remove those stupid .AppleDouble folders recursively if you accidentally plague yourself with them - For Windows!
Open PowerShell and then CD to the directory that's been plagued with these fucking things.
Then paste this command. It will delete every instance of .AppleDouble it can find, including inside folders inside the one you chose to run it in.
Get-ChildItem -Include '.AppleDouble' -Recurse -force | Remove-Item -force -Recurse
Voila, turds be gone!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment