Skip to content

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

License

Notifications You must be signed in to change notification settings

hutsoninc/file-ranger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published