Skip to content

print the POSIX path to the original of a Finder alias file from the OS X command line

License

Notifications You must be signed in to change notification settings

rptb1/aliasPath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

aliasPath

Author: Richard Brooksby
Organization: Ravenbrook Limited
Date: 2013-07-07

aliasPath prints the POSIX path to the original of a Finder alias.

It outputs the same information displayed by the Finder in the "Get Info" window under "Original", but suitable for use in scripts.

It is mainly useful for repairing broken aliases, because it will work even if the original can't be found. This effect can't be achieved with AppleScript.

To build and install a copy of this tool into /usr/local/bin, clone the repo elsewhere, then just:

sudo xcodebuild install

Open source under the BSD 2-Clause License.

About

print the POSIX path to the original of a Finder alias file from the OS X command line

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published