npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

khol

1.5.0 • Public • Published

khol NPM version Build Status Dependency Status Coverage percentage

A command line utility for performing directory related tasks easily in linux

Installation

# install the module globally 
$ npm install --global khol

Info:

This package comes has 3 operations:

  1. Opening the directory in GUI method.
  2. Saving the long directory path into a short one.
  3. Opening the long directory path using a short name of your choice in GUI method.

Usage

Opening the directory in GUI method:

$ khol <file_name> # or <file_path> 

Example

To open current directory in GUI, you can use:

$ khol ./Videos  # opens the Videos folder in your current directory 
 
# or 
$ khol .  # opens the current directory in GUI 

Saving the long directory path into a short one.

$ sd <file_path>
# or 
$ savedir <file_path>

Example

$ sd ./Videos/Movies/Bollywood/NewCollection/AkshayKumar  ak_movies  # saves the long path by mapping it to `ak_movies`. 
 
# or 
$ savedir ./Videos/Movies/Bollywood/NewCollection/AkshayKumar  ak_movies  # saves the long path by mapping it to `ak_movies`. 
  • Opening the long directory path using a short name of your choice in GUI method.
$ goto <short_name>
 

Example

Opening the long directory path using a short name of your choice in GUI method.

$ goto ak_movies  # opens this `./Videos/Movies/Bollywood/NewCollection/AkshayKumar` path in GUI method. 
 

License

MIT © Amit Upadhyay

install

npm i khol

Downloadsweekly downloads

5

version

1.5.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability