Remove common part of two paths, leaving relative path
abs2rel(path, stempath = getwd(), StopIfNoCommonPath = FALSE)
Character vector containing relative path
Other path_utils:
common_path()
,
split_path()
path = "/Volumes/JData/JPeople/Sebastian/images"
abs2rel(path,'/Volumes/JData')
#> [1] "JPeople/Sebastian/images"