New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

make-dir-range-cli

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

make-dir-range-cli

Make directories from ranges of integers.

Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

make-dir-range-cli

Make directories from ranges of integers.

Installation

npm install --global make-dir-range-cli

Usage

$ make-dir-range --help

  Make directories from ranges of integers.

  Usage
    $ make-dir-range <int>-<int>
  Options
       --destination, -d  Destination for dirs
       --prepend, -p  Prepend to dir name
       --append, -a  Append to dir name
  Example
    $ make-dir-range 1-50,55-60
$ make-dir-range 1-3,5,9-10

$ tree
.
├── 1
├── 2
├── 3
├── 5
├── 9
├── 10
│ ...

With options:

$ make-dir-range 11-13,15 --destination out --append a --prepend p

$ tree
.
├── out
│   ├── p11a
│   ├── p12a
│   ├── p13a
│   └── p15a
│ ...

Create a shell alias:

alias mdr=make-dir-range
  • make-dir-range - API for this module

Authors

  • Austin Gordon - Development - GitHub

License

This project is licensed under the MIT License - see the LICENSE file for details

Keywords

mkdir

FAQs

Package last updated on 06 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts