by driv

driv / upto

Bash command that allows to go up to a certain directory

124 Stars 5 Forks Last release: Not found MIT License 13 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:


Bash function that allows to go up to a certain directory.

Stop counting how many levels you have to go up in a folder tree and just type where you want to go! No more

cd ../../../..

Usage example

Current dir


If you want to go to

you just type
upto myproject

upto will go to the highest folder matched, in the previous example, if you write

upto my
you will move to


Just add

to your

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.