Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hutsoninc/file-ranger
Make, move, or copy files and directories using ranges.
https://github.com/hutsoninc/file-ranger
copy cp dir directory file integer make mk mkdir move mv range
Last synced: 7 days ago
JSON representation
Make, move, or copy files and directories using ranges.
- Host: GitHub
- URL: https://github.com/hutsoninc/file-ranger
- Owner: hutsoninc
- License: mit
- Created: 2018-11-27T18:39:28.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-28T22:16:00.000Z (about 6 years ago)
- Last Synced: 2024-12-08T19:33:41.552Z (25 days ago)
- Topics: copy, cp, dir, directory, file, integer, make, mk, mkdir, move, mv, range
- Language: JavaScript
- Size: 7.81 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# file-ranger
[![Current npm package version](https://img.shields.io/npm/v/file-ranger.svg)](https://www.npmjs.com/package/file-ranger)
Make, move, or copy files and directories using ranges.
## Installation
`npm install --global file-ranger`
## Usage
```
$ ranger --helpMake, move, or copy files and directories using ranges.
Usage
$ ranger makeMake 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
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
Copy a file to a range of directories.
Options:
--destination, -d Destination for dirsExamples
$ ranger make 1-5,7-10
$ ranger move 101-153 .txt --destination output
$ ragner copy file.txt 11-15,18,20-25
```## Related
- [make-dir-range-cli](https://github.com/hutsoninc/make-dir-range-cli) - Make directories from ranges of integers.
- [copy-to-range-cli](https://github.com/hutsoninc/copy-to-range-cli) - Copy a file to a range of directories
- [move-to-range-cli](https://github.com/hutsoninc/move-to-range-cli) - Move files to corresponding directories given a range## Authors
* **Austin Gordon** - *Development* - [GitHub](https://github.com/AustinLeeGordon)
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details