March 9, 2010
Find file, cd to parent directory

For jumping around in elaborate source trees.

Usage:

cdto [search root directory] [case insensitive filename]

If you just want to search current directory:

cdto [case insensitive filename]

Automatically appends * to search filename.

Update October 10, 2011: There are some nifty cd related scripts in this assorted archive of shell scripts on GitHub. The CDPATH stuff is pretty neat.

5:48pm  |   URL: http://tmblr.co/Zn_4byQ5MlQ
  
Filed under: bash cli 
  1. paksoy posted this