Wincent Icon UtilityEdit
Wincent Icon Utility is a small command line tool for taking an ".icns" icons file and applying it to a directory as a custom folder icon. A plaintext copy of the man page can be found here.
See also
- Wincent Icon Utility version 2.0.1 release announcement