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


Click here to return to the 'No way to get file type alias from the shell?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
No way to get file type alias from the shell?
Authored by: Anonymous on Mar 05, '05 09:11:29PM
Apple's developer tools includes a command line program called GetFileInfo. Its -a argument tells you if a file is an alias file or not.
/Developer/Tools/GetFileInfo -aA 'Some Alias File'
returns
1
if 'Some Alias File' identifies a file which is an alias file (and it'll return 0 otherwise).

[ Reply to This | # ]