Skip to main content

change dirpath or open a url by bookmark fast in terminal

Project description

# cdx

  • Introduction
    • change derectory fast by ‘cdx bookmark’.
  • Features
    • dirpath or url saved as bookmark
    • cdx a directory by bookmark fast
    • modify, dispaly, delete bookmarks
### version
cdx 1.2.6 , Jan 6 2018
### setup
sudo pip install cdx if fail to setup or update, try again use ‘sudo pip3 install cdx’.
### Usage
usage: cdx [option] [arg] Options and arguments: cdx -s bookmark [dirpath|url|note1 note2 ..] # save the CURRENT dirpath or some notes as bookmark (also –save) cdx bookmark # cdx to a location or retuan notes by bookmark cdx -l # dispaly the saved bookmarks(also –list) cdx -m old_bookmark new_bookmark # modify a bookmark name (also –modify) cdx -d bookmark1 bookmark2 … # delete a bookmark (also –delete)
### Example

# save the current dirpath as a bookmark js@py:~/Documents/pycodes/myprojects$ cdx -s cdx cdx cdx >>> /home/js/Documents/pycodes/myprojects

# add a website js@py:~/Documents/pycodes/myprojects$ cdx -s gh https://github.com/ZhangLijuncn/cdx notes gh >>> https://github.com/ZhangLijuncn/cdx

# notes some infomation js@py:~/Documents/pycodes/myprojects$ cdx -s version v1.1.2 Dec,6,2017 cdx version >>> v1.1.2 Dec,6,2017

# mark a dirpath js@py:~/Documents/pycodes/myprojects$ cdx -s doc ~/Documents/ cdx doc >>> /home/js/Documents/

# modify a bookmark js@py:~/Documents/pycodes/myprojects$ cdx -m version v cdx v >>> v1.1.2 Dec,6,2017

# display all the bookmarks js@py:~/Documents/pycodes/myprojects$ cdx -l ———————————————————————- Bookmarks Locations ———————————————————————- doc /home/js/Documents v v1.1.2 Dec,6,2017 cdx /home/js/Documents/pycodes/myprojects gh https://github.com/ZhangLijuncn/cdx ———————————————————————-

# change a diretory by bookmark js@py:~/Documents/pycodes/myprojects$ cdx doc js@py:~/Documents$

# open a url in the default web browser js@py:~/Documents$ cdx gh

# delete some bookmarks js@py:~/Documents$ cdx -d doc v cdx cdx: ‘doc’ was removed. cdx: ‘v’ was removed. cdx: ‘cdx’ was removed. ———————————————————————- Bookmarks Locations ———————————————————————- gh https://github.com/ZhangLijuncn/cdx ———————————————————————-

Project details


Release history Release notifications

This version
History Node

1.2.6

History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.1.3

History Node

1.1.2

History Node

1.1.1

History Node

1.0.1

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
cdx-1.2.6.tar.gz (5.3 kB) Copy SHA256 hash SHA256 Source None Jan 8, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page