Need help with upto?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

driv
125 Stars 5 Forks MIT License 13 Commits 5 Opened issues

Description

Bash command that allows to go up to a certain directory

Services available

!
?

Need anything else?

Contributors list

# 370,848
Gradle
Sass
Groovy
Maven
9 commits
# 383,232
Python
Shell
C
nat
1 commit

upto

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

/home/username/myfolder/myproject/mysubproject/function1/subfunction2/

If you want to go to

/home/username/myfolder/myproject
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
/home/username/myfolder

Configuration

Just add

upto.sh
to your
/etc/profile.d/
folder.

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.