Remove common part of two paths, leaving relative path
Remove common part of two paths, leaving relative path
abs2rel(path, stempath = getwd(), StopIfNoCommonPath = FALSE)
path |
Paths to make relative |
stempath |
Root to which |
StopIfNoCommonPath |
Error if no path in common |
Character vector containing relative path
jefferis
Other path_utils: common_path
;
split_path
path = "/Volumes/JData/JPeople/Sebastian/images" abs2rel(path,'/Volumes/JData')
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.