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.3 , Dec 28 2017
### 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 notes gh >>>

# 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 ———————————————————————-

# 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 ———————————————————————-

Project details

Download files

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

Files for cdx, version 1.2.3
Filename, size File type Python version Upload date Hashes
Filename, size cdx-1.2.3-py2.7.egg (9.1 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size cdx-1.2.3.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page