TE
科技回声
首页
24小时热榜
最新
最佳
问答
展示
工作
中文
GitHub
Twitter
首页
Ask HN: Any CLI or GUI tool for getting relative paths between 2 folders?
1 点
作者
turbo_fart_box
将近 7 年前
There must be a tool that makes it easier to get a deep relative path between 2 far away folders with ease! Any suggestions?
2 条评论
gry
将近 7 年前
realpath<p><a href="https://www.gnu.org/software/coreutils/manual/html_node/Realpath-usage-examples.html" rel="nofollow">https://www.gnu.org/software/coreutils/manual/html_node/Real...</a>
jquast
将近 7 年前
You could write it in one line of Python or so, using os.path.relpath