on 2018-10-24
Mac - Use readlink in Mac OS X
- install
coreutils
brew install coreutils
- test greadlink
greadlink -f <file name>
- alias command line
alias readlink=greadlink
refer - How can I get the behavior of GNU’s readlink -f on a Mac?;
on 2018-10-24
coreutils
brew install coreutils
greadlink -f <file name>
alias readlink=greadlink
refer - How can I get the behavior of GNU’s readlink -f on a Mac?;