Hacker News new | ask | show | jobs
by oweiler 4340 days ago
`up`, a small Bash function I once wrote. It allows you to walk up the directory tree by passing it a path or the number of levels you would like to walk up.

Has served me well in Java in projects with deep directory trees (due to deep package hierarchies).

https://github.com/helpermethod/up