Copy random files to a specific folder by Tiago Danin.
Copy random files to a specific folder
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
# 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]
To run the test suite, first install the dependencies, then run test
:
# NPM
npm test
# Or Using Yarn
yarn test
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. List of all contributors.
JavaScript
1