Page 1 of 1

MacOS – Empty and Clear the macOS Icon Cache

macOS – Empty and Clear the macOS Icon Cache

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
Examples: "MacOS X - Your question", "MS Word - Your Tip or Trick".

Please note that switching to another language when reading a post will not work!
Posts will not have a translated counterpart.

RSS Feed

Home Forums Software MacOS X Software macOS – Empty and Clear the macOS Icon Cache

This topic contains 0 replies, has 1 voice, and was last updated by  hans 6 months, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
  • 11837


    MacOS caches icons, which is a good thing for speed and such, but when tinkering with icons this can be a pain.
    Instead of your “new” icon, your old icon remains showing no matter what you do, or you system starts showing generic icons, which is not wanted either.

    The Icon Cache can be cleared with the following Terminal statement (it is one single line, requires your admin.sudo password and of course; use at your own risk, I just tested it with Mojave and it works):

    sudo rm -rfv /Library/Caches/; sudo find /private/var/folders/ \( -name -or -name \) -exec rm -rfv {} \; ; sleep 3;sudo touch /Applications/* ; killall Dock; killall Finder


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.