copy some image to clipboard
in finder right click at a folder -> and click Get Info
Get Info
click folder icon
Paste (⌘-C)
Done
You won't see Icon? file in the Finder - but it is visible in shell.
Icon?