DOKK / manpages / debian 11 / fp-utils-3.2.0 / relpath-3.2.0.1.en
relpath(1) Relative path computing tool relpath(1)

relpath - The Free Pascal file deletion tool.

relpath [file or directory] [base directory]

relpath This is an utility for computing relative path according to a given base directory. This is useful for libraries that are to install .lpk in order to be used with lazarus. As these libraries may be compiled without need to build depend on Lazarus, we add it in fp-utils package which is likely to be used by any big project which build depends on fp-compiler.

relpath takes the following arguments:

The target file or directory for which relative path should be computed.
The base directory according to which the relative patch should be computed.

readlink(1)
7 May 2013 Free Pascal