没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
oss.trustie.net/open_source_projects | 主页 > 开源项目社区 > cdbm |
cdbm
|
0 | 0 | 0 |
贡献者 | 讨论 | 代码提交 |
This project is no longer maintained here. cdbm is now a part of the Bookmark Tools.This program lets you tag directories and speeds up navigation in the terminal considerably.
Example session:
~ $ cdbm -a /var/log/apache2 apache
0. /var/log/apach2 [apache]
~ $ cdbm -a /etc/X11 x
0. /var/log/apach2 [apache]
1. /etc/X11 [x]
~ $ cdbm x
/etc/X11 $ cdbm apache
/var/log/apache2 $The added directories are saved in a file in your home directory so they survive the terminal session.
The cdbm command is a simple function that utilizes the bm program. Another function is lsbm which you've guessed it lists the contents of the directory bookmark.
Usage: bm [[OPTION] [ARGUMENT]]
Allows you to keep bookmarks of your most used directories.
-a Add directory to the index. Optional second argument specifies the directory. Third argument specifies tag.
-c Clears the bookmark index.
-d Removes a directory from the list. Second argument specifies the index or tag.
-h Or --help. Outputs this text.
-l List current bookmarks with index. Same as no arguments.
-r Removes a directory by index or tag. Same as -d.
-v Or --version. Prints version and license information.
-? Prints location of the bookmark file.
And last but not least: to get the directory at index i or tag t, type `bm i` or `bm t`.Tab completion in BASH is also supported.