Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Deleting the rsrc fork is not exactly the same' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Deleting the rsrc fork is not exactly the same
Authored by: mingking on Jan 04, '03 02:04:10AM
Yes, using the suggestions about stripping the rsrc forks seems to work to get back to using the default application, but it doesn't have exactly the same effect as doing a cp.

If you just any of the suggested rsrc fork stripping techniques, the resource fork is indeed stripped and then the file no longer opens with the old creator. But interestingly, if you do a GetFileInfo on the file afterwards you can see that the 'meta' info is still there - the creator and type info, and even the Custom Icon attribute (as well as any other attributes the file may have.) So the file winds up e.g. still having the Netscape/IE icon or whatever instead of using the icon for the default browser.

Though it seems to basically work, I'm a bit nervous about those solutions. I think it creates a 'confused' state for the system - meta attributes but no rsrc. I would have expected the Finder to continue to use the attributes, but apparently not. I don't understand why that happens.

Thanks for the tips about using the /rsrc syntax, but I think I'll stick with using cp. It seems more definitive and is more complete in removing any vestiges of HFS. Making a copy doesn't bother me - I think it's a bit safer anyway. You never know when you may have selected the wrong source folder/file. (Oh, that's never happened to me ;-)


[ Reply to This | # ]