tedshd's DevNote

Develop & Design Note by Ted

Mac - Use readlink in Mac OS X

Mac - Use readlink in Mac OS X

  1. install coreutils
brew install coreutils
  1. test greadlink
greadlink -f <file name>
  1. alias command line
alias readlink=greadlink

refer - How can I get the behavior of GNU's readlink -f on a Mac?;

comments powered by Disqus