In windows, shortcuts are files that have a .lnk extension and contain roughly half a kilobyte of contents that points to another file. However, in mac, an alias is treated as if it is the file it is pointing to, and reading from/writing to the alias will do so to the file it is pointing to. Is there a way to test if a particular File
object is an alias in mac?
Asked
Active
Viewed 22 times
0

Phoenix
- 1,553
- 2
- 13
- 29
-
You mean a symbolic link? – OneCricketeer Aug 28 '16 at 01:50
-
I guess? I right click on the file and then click "make alias", so that's what I've always called it – Phoenix Aug 28 '16 at 01:51
-
An alias is a thing in the terminal (shortcut to another command, but not a file). A symbolic link is created by `ln -s` in the terminal. I'm not sure what the right click menu does – OneCricketeer Aug 28 '16 at 01:53