Answer by Tom for Terminal command to remove custom icon from file (HFS+)
An alternative is to use SetFile to flip the file's "custom icon" bit off:SetFile -a c /path/to/fileOne difference between this and xattr -d com.apple.ResourceFork is the xattr -d destroys the image...
View ArticleAnswer by user3439894 for Terminal command to remove custom icon from file...
For files with a custom icon, macOS writes the icon data as a resource fork to the file. Use the xattrcommand in the following form:xattr -d com.apple.ResourceFork /path/to/filenameFor more information...
View ArticleTerminal command to remove custom icon from file (HFS+)
ContextIn Mac OS X / macOS you can select a file in the Finder, click Informations then click the icon, and paste any image/icon that is in the clipboard. Now this file has a custom icon made of this...
View Article