fileicon
Manage custom file and folder icons. tldr-pages
On macOS
macOS
Set a custom icon for a specific file or directory
fileicon set path/to/file_or_directory path/to/icon_file.pngIdentifyRemove a custom icon from a specific file or directory
fileicon rm path/to/file_or_directoryIdentifySave the custom icon of a file or directory as a .icns file into the current directory
fileicon get path/to/file_or_directoryIdentifyTest if a specific file or directory has a custom icon
fileicon test path/to/file_or_directoryIdentify