I wanna ask if it is possible to **automatically** create relative symbolic links in Mac OS X ?
Seems like Linux has -r option for ln to do this:
https://unix.stackexchange.com/questions/10370/make-a-symbolic-link-to-a-relative-pathname .
https://man7.org/linux/man-pages/man1/ln.1.html
But alas, it is not the option for Mac OS X:
https://ss64.com/osx/ln.html
I've found here similar question:
https://stackoverflow.com/questions/16317809/how-to-create-relative-symbolic-link-in-mac-os .
but it's about manual relative link calculation instead of automatic like -r option for ln do in Linux.
So my question - is there any option in Mac OS X to make relative symlinks automatically instead of absolute ones? My shell is Bash, not zsh, system is macOS 10.15.7 Catalina, if it matters.
Thanks in advance!
PS: Sorry for my English - it isn't my native language...
Asked by Serj.by
(133 rep)
Nov 2, 2023, 09:57 AM
Last activity: Nov 3, 2023, 05:13 AM
Last activity: Nov 3, 2023, 05:13 AM