|
|
|
No way to get file type alias from the shell?
Darn. I guess this hint tells me what I feared: Apparently there's no way to test a file to see if it's an alias from the shell if the Finder is not loaded. I'm looking for a way to test a file for being an aliases when in single user mode. I can test if a file is a link or not, but no way to see if it's an alias. Argh. It would be nice if there were something like get info for the shell. Like this:
No way to get file type alias from the shell?
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.
returns
if 'Some Alias File' identifies a file which is an alias file (and it'll return 0 otherwise).
|
SearchFrom our Sponsor...Latest Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2013 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.07 seconds |
|