TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;coreutils&#x2F;manual&#x2F;html_node&#x2F;Realpath-usage-examples.html" rel="nofollow">https:&#x2F;&#x2F;www.gnu.org&#x2F;software&#x2F;coreutils&#x2F;manual&#x2F;html_node&#x2F;Real...</a>
jquast将近 7 年前
You could write it in one line of Python or so, using os.path.relpath