[Mac OS X TeX] opening .tex files under OS X?

Christian Swinehart cswinehart at mac.com
Fri Jun 22 02:48:16 CEST 2001



<x-flowed>On Thursday, June 21, 2001, at 11:50 AM, Bruno Voisin wrote:
> There used to be Classic utilities allowing to change the type/ creator 
> fields of groups of files and folders, sometimes it was even possible 
> to apply the change only to a selection of files within these groups, 
> based on search criteria.

There are two command line tools for reading and setting Creator/Type 
codes that are included with the developer tools: GetFileInfo and 
SetFile.

For example if you wanted to set the file dissertation.tex to open with 
BBEdit, type:
      /Developer/Tools/SetFile -c "R*ch" -t "TEXT" dissertation.tex
where the "-c" and "-t" are the switches for creator and type 
respectively.

I forget whether you "clear" the fields by setting them to "????" or "". 
In any case, you can at least batch apply the changes to whichever files 
you want to change (e.g., *.tex).

Christian


-----------------------------------------------------------------
To UNSUBSCRIBE, send email to <info at email.esm.psu.edu> with
"unsubscribe macosx-tex" (no quotes) in the body.
For additional HELP, send email to <info at email.esm.psu.edu> with
"help" (no quotes) in the body.
This list is not moderated, and I am not responsible for
messages posted by third parties.
-----------------------------------------------------------------
</x-flowed>




More information about the macostex-archives mailing list