Resolve paths using GNU readlink canonicalization modes.
moonx cli/readlink -e .
moonx cli/readlink -m new/folder| Option | Description |
|---|---|
| -f, --canonicalize | Allow a missing final component. |
| -e, --canonicalize-existing | Require every component to exist. |
| -m, --canonicalize-missing | Allow missing components. |
| -z, --zero | Terminate paths with NUL. |
| -n, --no-newline | Omit the newline for a single operand. |
| -v, --verbose | Report lookup errors. |
| --help | Show help. |
| --version | Show the version. |