CP Random
Copy random files to a specific folder
Installation
Module available through the
npm registry. It can be installed using the
npm
or
yarn
command line tools.
# NPM npm install cp-random --global# Or Using Yarn yarn global add cp-random
Usage
# Copy all files - from [dir] to [dir] cp-random --from [dir] --to [dir]# Copy [number] files - from [dir] to [dir] cp-random --from [dir] --to [dir] --max [number]
Tests
To run the test suite, first install the dependencies, then run test
:
# NPM npm test# Or Using Yarn yarn test
Dependencies
- minimist: parse argument options
Related
- thanos-nodejs: Reduce the file size of your project down to 50%, by randomly deleting half of the files.
Contributors
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.