Socket
Socket
Sign inDemoInstall

random-file-generator

Package Overview
Dependencies
58
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    random-file-generator

A tool for quickly generating random binary files


Version published
Maintainers
1
Install size
4.52 MB
Created

Readme

Source

Description

A tool for quickly generating random binary files

Install

npm install -g random-file-generator

Example

Generate a 200MB random binary file named "200MB" in "D:\temp" folder.

$ rand-gen -d D:\temp -f 200MB -s 1024000 -n 200
Usage: rand-gen -d [num] -f [num] -s [num] -n [num]

Options:
  --help     Show help                                                 [boolean]
  --version  Show version number                                       [boolean]
  -d         Output directory. Create if it doesn't exist             [required]
  -f         Output file name                                         [required]
  -s         Size of every chunk in bytes                             [required]
  -n         How many chunks in file                                  [required]

generating [====================] 135360212/bps 100% 0.0s
[Target File] D:temp\200MB
[MD5]: ukVfpRVN1MSyNh8bxgdNYA==

Keywords

FAQs

Last updated on 08 May 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc