Skip to content

Latest commit

 

History

History
62 lines (39 loc) · 1.71 KB

README.md

File metadata and controls

62 lines (39 loc) · 1.71 KB

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