-
Star
(181)
You must be signed in to star a gist -
Fork
(26)
You must be signed in to fork a gist
-
-
Save ismyrnow/e92c6010cda9325b2d8811387a05f224 to your computer and use it in GitHub Desktop.
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 |
Does this clear the cache for all user accounts or only the one you run it under? (Update: never mind, it does!!! It’s fixed!)
Thanks for this.
Works fine !
Thank you! It works for macOS 12.3!
this fixed my files set to open with VLC having generic white icons :D
I also did this
brew cask install qlvideo
>D
The OP didn't help me, but installing qlvideo does work as a workaround, on macOS 13.0 Ventura. (though the command has changed)
brew install --cask qlvideo
It worked for me. Thanks for sharing.
I'm on a MacBook Pro 16-inch 2023 (M2 Max) with macOS 13.3.1.
Worked for me on 14.5 beta on M2 MBA. Thanks!
Running the sudo rm -rfv /Library/Caches/com.apple.iconservices.store
command was enough for me (plus running sudo killall Dock; killall Finder
). It makes sense to remove a cache. On the other side, I see very dangerous to remove anything from inside the /private/
folder, which is a sensible folder for the stability of the operating system.
Running the
sudo rm -rfv /Library/Caches/com.apple.iconservices.store
command was enough for me (plus runningsudo killall Dock; killall Finder
). It makes sense to remove a cache. On the other side, I see very dangerous to remove anything from inside the/private/
folder, which is a sensible folder for the stability of the operating system.运行sudo rm -rfv /Library/Caches/com.apple.iconservices.store
命令对我来说就足够了(加上运行sudo killall Dock; killall Finder
)。删除缓存是有意义的。另一方面,我认为从/private/
文件夹中删除任何内容是非常危险的,该文件夹对于操作系统的稳定性来说是一个明智的文件夹。
You are right! By following your method, I fixed Cursor icon after uninstall it!
Thanks a bunch! All my css files had somehow gotten associated with Tor and the onion wouldn't go away from the file icons even when I associated them with sublime editor by force. This helped get rid of the Tor onion and get the sublime icon.