AndyE
AndyE

Reputation: 21

How to Make a "relative path" alias or symbolic link in osx?

I need a link. It´s for a software delivery DMG file. It is rather simple. But I do not know programming very well.

My need is to get an alias or a symbolic link that links to a relative path, like this:

/users/USERFOLDER-name/Library/Application Support/Some Folder/some other folder/ etc...

How is this done? Through some form of apple script? Is there a way to do it with a script or a program??

Hope someone can help, I do not know programming very well though...

Upvotes: 2

Views: 5042

Answers (1)

Matthias
Matthias

Reputation: 8180

An alias can be created in Finder's context menu.

(Symbolic) links can be generated (as in any unix) by ln -s <original_path> <alias_path>.

EDIT

You must input the code in a shell. The standard shell for OSX is bash. You can open a shell (start) a shell by some terminal program, typically Terminal.app. You will get more information on ln there, if you type man ln.

Upvotes: 1

Related Questions