I want to automate the following thing:
cd into current directory
cd workdir
make a new directory
mkdir mydata
and get the absolute path to this mydata directory
There is a Unix utility that can achieve that:
readlink --canonicalize nameofyourfileorfolder
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