grf

command module
v1.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2019 License: GPL-3.0 Imports: 12 Imported by: 0

README

grf

gen random files

Build from source or download prebuild binary
git clone https://github.com/cchare/grf.git
cd grf
go build -o grf
Usage
help page
./grf -h
Usage of ./grf:
  -n int
    	number of files (default 1)
  -o string
    	output dir (default ".")
  -p string
    	filename prefix (default "laod")
  -s string
    	size(K,M,G,T) of file (default "1M")
  -v	show version

Generate 5 random files with size 2.22M to outdir/
mkdir outdir
./grf -n 5 -s 2.2M -o outdir

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL