commands.sh

fileicon

macos

Manage custom file and folder icons.

More info →

Examples (4)

Set a custom icon for a specific file or directory

fileicon set path/to/file_or_directory path/to/icon_file.png

Remove a custom icon from a specific file or directory

fileicon rm path/to/file_or_directory

Save the custom icon of a file or directory as a `.icns` file into the current directory

fileicon get path/to/file_or_directory

Test if a specific file or directory has a custom icon

fileicon test path/to/file_or_directory
made by @shridhargupta | data from tldr-pages