file-ranger

1.0.1 • Public • Published

file-ranger

Current npm package version

Make, move, or copy files and directories using ranges.

Installation

npm install --global file-ranger

Usage

$ ranger --help

  Make, move, or copy files and directories using ranges.

  Usage
    $ ranger make <range> <options>

      Make directories from ranges of integers.

      Options:
        --destination, -d  Destination for dirs
        --prepend, -p  Prepend to destination dir names
        --append, -a  Append to destination dir names

    $ ranger move <range> <file-type> <options>

      Move files to corresponding directories given a range.

      Options:
        --destination, -d  Destination for dirs
        --prepend, -p  Prepend to destination dir names
        --append, -a  Append to destination dir names

    $ ranger copy <file> <range> <options>

      Copy a file to a range of directories.

      Options:
        --destination, -d  Destination for dirs

  Examples
    $ ranger make 1-5,7-10
    $ ranger move 101-153 .txt --destination output
    $ ragner copy file.txt 11-15,18,20-25

Related

Authors

  • Austin Gordon - Development - GitHub

License

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

Package Sidebar

Install

npm i file-ranger

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

6.26 kB

Total Files

4

Last publish

Collaborators

  • austinleegordon