Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 537 Bytes

README.md

File metadata and controls

46 lines (32 loc) · 537 Bytes

mkrndf

mkrndf — Make a random data file

Installation

$ go get -u github.com/mnkd/mkrndf

Usage

  • If you want to create a 100 KiB file.
$ mkrndf -k 100
=> 100KiB.dat
  • If you want to create a 100 MiB file.
$ mkrndf -m 100
=> 100MiB.dat
  • If you want to create a 1 GiB file.
$ mkrndf -g 1
=> 1GiB.dat
  • If you want to create a 1000 bytes file.
$ mkrndf -b 1000
=> 1000.dat
  • If you want to create a 100 KiB file with filename.
$ mkrndf -k 100 foobar.dat
=> foobar.dat