--relative-to
Print the resolved path relative to DIR.
An option of realpathx.
Usage
realpathx --relative-to=DIR FILE...Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--relative-to | DIR | print the resolved path relative to DIR |
Examples
Print a path relative to another directory
realpathx --relative-to=/usr/lib /usr/bin/sortHelp in the terminal
gnux help realpathx --relative-to