rptb1/aliasPath


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

License: Other

Language: Objective-C


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.

Project Statistics

Sourcerank 4
Repository Size 55.7 KB
Stars 11
Forks 2
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Richard Brooksby

Interesting Forks See all

tjsoftworks/aliasPath
print the POSIX path to the original of a Finder alias file from the OS X command line
Objective-C - Updated - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-08-22 05:38:20 UTC

Login to resync this repository