https://github.com/dacap/makehugefile
Create one or several files with gigabytes of pseudo-random data
https://github.com/dacap/makehugefile
Last synced: about 1 month ago
JSON representation
Create one or several files with gigabytes of pseudo-random data
- Host: GitHub
- URL: https://github.com/dacap/makehugefile
- Owner: dacap
- License: mit
- Created: 2019-05-13T20:12:11.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-09-02T04:33:51.000Z (almost 6 years ago)
- Last Synced: 2026-03-12T06:58:10.425Z (3 months ago)
- Language: Go
- Homepage:
- Size: 2.93 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# makehugefile
> Copyright (C) 2019 David Capello
>
> This file is released under the terms of the MIT license.
> Read [LICENSE.txt](LICENSE.txt) for more information.
This little utility creates an huge file with pseudo-random data
(using the golang [cryptographically secure random number generator](https://golang.org/pkg/crypto/rand/)).
### Usage
makehugefile [-g=N] [-f] filename...
Generate one file for each given `filename`, where:
* `N` is the number of GB to write in each given file (by default 1 GB), and
* `-f` enables a "fast mode" (it generates 1 MB of random data and
then repeat it in the whole file).