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


Click here to return to the 'Changing the file type and creator' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Changing the file type and creator
Authored by: ethomas on Apr 22, '03 05:26:10AM
If you have the Apple Developer Tools installed, there's a command line tool called SetFile. This allows you to set attributes of HFS+ files, including the file TYPE and CREATOR codes.

Simply cd into one of the Adobe Help directories, and issue the following command:

sudo /Developer/Tools/SetFile -c "" -t "" *.html

This will remove the file type and creator info from the resource forks of all html files in that directory. They should then open with your default browser.

[ Reply to This | # ]