4 releases
| 0.9.2 | May 27, 2025 |
|---|---|
| 0.9.1 | May 24, 2025 |
| 0.9.0 | Mar 13, 2025 |
#268 in Filesystem
239 downloads per month
10KB
137 lines
mkemptyfile
About
Program mkemptyfile creates an empty file of specified size. Content can be zeroes or
randomly generated with MCG59 generator.
Arguments
You need to specify file name and size. Desired file size can be specified in different units (B,K,M,G,T,P,E) or by reference file (-r).
If you do not want new file to have zero 00 content, option -g will generate random filler data.
Program Exit codes
- 0 Success
- 1 incorrect command line arguments
- 2 incorrectly specified file size
- 3 can not create file
License
This is free and unencumbered software released into the public domain.
This code can be used under terms of CC0 or the Unlicense.
![]()
Dependencies
~145KB