With Panther, Apple’s offered the mostly-hidden Image Events interface. This makes it trivial to regenerate icons for files from the command line!
sips—addIcon [filename.ext]A rather rudimentary wat to regenerate all icons for your “Pictures” directory:
%cd ~/Pictures %find . -type f -exec sips—addIcon {} \\;It will attempt to regenerate icons for all files; it’s safe to ignroe messages about .DS_Store, any PNGs, and the like. This has made my life quite a bit easier – I hasten to think of how much time it’d take to open and save files in Photoshop.
P.S. If you save full-page TIFFs, you will NOT want to run the above. ;)