With the ln
command , ln -s ~/dir dir. alias
we can alias a file or folder.
Mac OS X also provides a way to create the "Alias Kind" file, by dragging one file while holding the command+option keys.
How can I create such a file in the Terminal?
While the files may look the same in the finder they are very different.
ln -s
is creating a Unix symbolic link fileTo create an alias in a Unix shell one can use the osascript
command and call it up like they would an Apple Script to do the same thing.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With