|
|
Set default browser for Adobe help files
A bit of insight: this hint doesn't set the files to open with the default browser, merely the one you select. Having done this ages ago, all my adobe help files open with Mozilla, not Safari (my default).
However, if you delete the resource fork, the files open with your default browser.
As a note - there's got to be a better way to trash a resource fork than cp and mv - anyone know?
Set default browser for Adobe help files
Of course, if you want local .html files to open in, say, BBEdit
Set default browser for Adobe help files
If you want to make a specific set of html files (such as the Adobe
Stripping resource forks
For a file named "foo" in the current working directory, cp /dev/null foo/rsrc will also strip the resource fork. You can also check the size of foo/rsrc (using ls or otherwise) to see whether the file has a resource fork or not: if the size is nonzero, it has a resource fork, otherwise it doesn't. I use this script to accomplish the task in a somewhat safer manner:
#!/bin/bash USAGE="nukersrc " if [ $# == 1 ] then if [ -f "$1" ] then if [ -s "$1/rsrc" ] then /bin/cp /dev/null "$1/rsrc" else echo "File $1 has no resource fork" fi else echo "$1 does not exist or is not a regular file" fi else echo $USAGE fi
Delete Resource Fork painlessly
Try GrimRipperCM.
Changing the file type and creator
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
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.
Set default browser for Adobe help files
The problem with many of the suggestions here (deleting the |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.20 seconds |
|