This is a command-line script which can generate a dummy (blank) file of a specific byte size.
- Call create_file.php via command line.
- The first argument is the path to the file that will be created.
- The second argument is the file size (e.g. 10MiB, 1.5KB, 512B)
/usr/bin/php ~/path/to/dummy-file-creator/create_file.php ~/path/to/export_file.jpg 10MiB
MIT License
Copyright (c) J. Miller (j@jmillerdesign.com)