TE
TechEcho
Home
24h Top
Newest
Best
Ask
Show
Jobs
English
GitHub
Twitter
Home
Ask HN: Any CLI or GUI tool for getting relative paths between 2 folders?
1 points
by
turbo_fart_box
almost 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
gry
almost 7 years ago
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
almost 7 years ago
You could write it in one line of Python or so, using os.path.relpath