iconutil(1) General Commands Manual iconutil(1)

iconutilUtility to convert between '.iconset' and '.icns' files.

iconutil -c {icns | iconset} [-o file] file [icon-name]

iconutil converts between '.iconset' and '.icns' files, and can extract icons from '.car' asset catalog files. The tool takes a single source '.icns' file, '.iconset' or a '.car' file and icon name. It converts the input to either a '.icns' or '.iconset' depending on the value of the -c flag's argument. It is possible to specify the name of the output file by passing the file path as the argument to the -o flag. If -o is not set iconutil will write converted '.icns' file or '.iconset' to the same directory as the source file using either the name of the icon in the '.car' or the input file name with the extension derived from the output type.

--convert {icns | iconset}
Given the argument iconset, iconutil converts the source '.icns' file to an '.iconset'. The '.iconset' is saved in the same directory as the source '.icns'. It is given a file name derived from the input file name or the input icon name with the '.iconset' file extension. If the argument is icns, iconutil converts the source '.iconset' to an '.icns'. The '.icns' is saved in the same directory as the source '.iconset'. It is given a file name derived from the input file name or the input icon name with the '.iconset' file extension.
--output
Overrides the default output file name that iconutil uses to save the converted '.iconset' or '.icns' files.

/usr/bin/iconutil
 
4/10/12 Darwin