GBG is a 32 bit & 64 bit Windows command line program that creates files of a specified size, filled with pseudo-random Garbage bytes.
Files between 0 and 2GiB in size can be generated, although for file sizes greater than 500,000,000 bytes the user must confirm the operation.
Files up to 10MiB in size are generated with random bytes. Files larger than 10MiB have the first 10MiB bytes generated randomly, but then that same 10MiB pattern is repeated as many times as necessary. If the requested file size is zero then an empty file is created.
Example of use:
gbg sample2MiB.dat 2,097,152
Creates a file named
sample2MiB.dat that is 2Mib (= 2,097,152 bytes) in size.
There are other options available that can generate random ASCII characters, for example. For more information about on how to use the program see the Read Me Markdown file on GitHub.
GBG is copyright © 2023 by Peter Johnson. The program and its source code are released under the terms of the MIT License.
This program is hosted on GitHub in the
delphidabbler/gbg repository. The program can be downloaded from the repository's Releases tab.
Each release gives the option of downloading either the programs's executable code or the source code. Your options are:
gbg-exe64-0.3.0.zip to download a zip file containing the 64 bit version of the program or
gbg-exe32-0.3.0.zip for the 32 bit version. There is no installer. Just extract the desired program's
.exe from the
.zip file and copy it to a folder on your system. It can be run from there.
Source code.zip to download the source code in
Source code.tar.gz to download the source code as a g-zipped tarball.
Get release v0.3.0 from GitHub
The following documentation is available. All of it opens on GitHub.
Bugs & Feature Requests
You can report bugs or suggest new features using the GBG issue tracker on GitHub.
Please review existing bug reports and feature requests before creating a new issue. If an issue already exists you may be able to help by adding a further comment.
You will need a GitHub account if you want to create or edit an issue.