[comp.sys.mac] "Purge Icons" utility

sbb@esquire.UUCP (Stephen B. Baumgarten) (01/22/88)

OK, I got a couple dozen requests for this little utility, so since it's
under 2k I just decided to post it here.

Operation is really simple.  Just put Purge Icons in the ROOT DIRECTORY
(top level) of the disk you want to clean up.  Then run it under the FINDER
(NOT Multifinder, Switcher, etc.).  It automatically removes all ICN#, BNDL,
FREF and application signatures (I think) from the DeskTop file on the disk
it was started from, so when you return to the Finder it will update the icons
for every application on the disk.

A couple of caveats.  First, note that the Finder only knows about folders
it has seen.  Therefore, if (for example) MS Word is in it's own folder 20
levels deep, but you have some MS Word files in the current folder, they won't
have icons.  In fact, you won't be able to launch them, since the Finder
doesn't yet know that MS Word exists.  Only after you open the folder that
MS Word is in will the Finder notice that it hasn't seen this application
before and update the DeskTop file.  I guess this is more a Finder bug than
anything else, but assuming you don't have 700 folders, it's not to hard to
open all the important ones right after you run Purge Icons.  Last, note that
use of this utility is NOT a complete substitute for rebuilding the DeskTop
if things start to get really flaky.

With that in mind, Purge Icons is a sure and easy way to get the Finder to
recognize changes in applications' icons, and to de-bloat DeskTop files
without losing your comments.  Enjoy.

--
   Steve Baumgarten             | "New York... when civilization falls apart,
   Davis Polk & Wardwell        |  remember, we were way ahead of you."
   ...!cmcl2!esquire!sbb        |                           - David Letterman



--8<-- Remove everything up to and including this line.  Save the rest. --8<--
(This file must be converted with BinHex 4.0)

:#P"eFQGP5@0[ER-!39"36&"98NFJ!*!("KeC!*!&!3#3!`@$!!!%J`#3!jS!N#!
+8(9bCf9*BfpZFfi#!*!$39"36&"98NFK!!"!!*!$,`!!39"36&"98NFK!!"!!*!
$,ce'T2)!!0$5!!!353#3!bqBjH%!N!F'(3#3K3ErJ3%!!!3!!!-Q!*!$!8+R6PE
ri'%Q)!eCJ#m!"%!!bLY!r[bSEUMqU4*1ZJ$d5S"Q"%kk!K#Tp!#3"%+R,ca$6d4
&2c`!rkQJ)"pR!!$3,`"#Tbmm3dp%46mm!!'TS%(krpBLAb!4!S!!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