I ran these commands as suggested in another thread:
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \;
sudo find /private/var/folders/ -name com.apple.iconservices -exec rm -rf {} \;
sudo rm -rf /Library/Caches/com.apple.iconservices.store
After that, I am trying to change app icons by going to Get Info, selecting the icon, and pasting an image in the selection. However, instead of the icon, I get a generic file icon like below:
How can I revert those commands?
sudo rm -rf
on the target is final, it's gone for good! To change an icon, have a look at: Change icons for files or folders on Mac