TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Any CLI or GUI tool for getting relative paths between 2 folders?

1 pointsby turbo_fart_boxalmost 7 years ago
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 comments

gryalmost 7 years ago
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>
jquastalmost 7 years ago
You could write it in one line of Python or so, using os.path.relpath