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


Download files

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

Source Distribution

cdx-1.2.6.tar.gz (5.3 kB view details)

Uploaded Source

File details

Details for the file cdx-1.2.6.tar.gz.

File metadata

  • Download URL: cdx-1.2.6.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cdx-1.2.6.tar.gz
Algorithm Hash digest
SHA256 dd6e7085c5a35adaaf8b2bef63f1b15e25216cf848d6b63c793fb371873c22d3
MD5 7200c603b678319f9531a8e63c8343ec
BLAKE2b-256 2d8f7bcc3b9a4a3c9ae96d5a6f71f1346f7fccd1b392a213c00e844ca92aa285

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page