relpath

version: 0.0.9
relpath [OPTIONS] <TO> [FROM]

Convert TO destination to the relative path from the FROM dir. If FROM path is omitted, current working dir will be used.

Options

--help, -h

Print help information

--version, -V

Print version information

-d

If any of FROM and TO is not subpath of DIR, output absolute path instead of relative