abs2rel command examples

abs2rel command examples

abs2rel – convert absolute path to relative path

#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.

 

Leave a Reply

Your email address will not be published. Required fields are marked *