Skip to content

Instantly share code, notes, and snippets.

@stvhwrd
Last active August 29, 2015 14:19
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 stvhwrd/db7e8ba213d6e217434d to your computer and use it in GitHub Desktop.
Save stvhwrd/db7e8ba213d6e217434d to your computer and use it in GitHub Desktop.
Restore original icons for system folders by deleting custom icon folders (such as those created by MEGA sync) on Mac OS X

####Remove custom icon from folder your_folder:

cd your_folder; rm Icon$'\r'

After executing this command, the operating system should immediately restore the default folder icon.

####Example usage:

cd ~/Pictures; rm Icon$'\r'


######tested with zsh 5.0.5 (x86_64-apple-darwin14.0) on Apple MacBook Pro (Late 2011) running OS X 10.10.3

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