abs2rel - Man Page

convert absolute path to relative path

Synopsis

abs2rel path base

Description

The abs2rel command takes exactly two arguments - a destination path and a base path.  It determines relative path from the base path to the destination path and prints it on standard output.

Examples

abs2rel /1/2/3/a/b/c /1/2/3 will print a/b/c on standard output.

abs2rel foo/bar foo/baz will print ../bar on standard output.

Author

Written by Mikolaj Izdebski.

Reporting Bugs

Bugs should be reported through Java Packages Tools issue tracker at Github: https://github.com/fedora-java/javapackages/issues.

Info

2024-11-24 JAVAPACKAGES Java Packages Tools