Skip to content

Instantly share code, notes, and snippets.

@ismyrnow
Created May 5, 2017 19:28
Show Gist options
  • Select an option

  • Save ismyrnow/e92c6010cda9325b2d8811387a05f224 to your computer and use it in GitHub Desktop.

Select an option

Save ismyrnow/e92c6010cda9325b2d8811387a05f224 to your computer and use it in GitHub Desktop.
Clear the icon cache on a Mac when you start seeing generic icons in Finder or the Dock
sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder
@yyuuttaaoo

Copy link
Copy Markdown

Like a charm! Freed up 100GB of disk space. Thanks a lot!

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