Shell Directory Manager 0.9

Shell Directory Manager is a small tool for managing often-visited directories using a shell like bash.
Shell Directory Manager is a small tool for managing often-visited directories using a shell like bash.

I offer two new commands: dm is a manager for a small database, where you name directories with a short alias. And dmcd is a function for your current shell, which lets you go to a directory given its alias in the database.

Example of use:

$ dm 1 /tmp # Adds the id '1' for /tmp
$ dm bla . # Adds the id 'bla' for the current dir
$ dmcd 1 # Goes to /tmp
$ dmcd bla # Goes to what was your current dir
$ dm -d bla # Deletes the entry for 'bla'.
$ dm # Shows your 'database'
1 /tmp
$ dm -h # Shows help, and defines 'dmcd' for sh.

Installation:

It's a script in bash - don't look for any special filename extension. Put the downloaded dm in your path.

Install the dmcd function. dm -h may give you a clue. For instance, for bash, add the following line into your .bashrc or .bash_profile (or any system wide script for each session):

function dmcd { dm -t $1 && cd `dm $1`; }

last updated on:
May 16th, 2007, 13:33 GMT
price:
FREE!
developed by:
Lluis Batlle i Rossell
homepage:
vicerveza.homeunix.net
license type:
GPL (GNU General Public License) 
category:
ROOT \ System \ Shells
Shell Directory Manager
Download Button

In a hurry? Add it to your Download Basket!

user rating 18

3.7/5
 

0/5

Rate it!

Add your review!

SUBMIT