/Dummy-File-Creator

Create a dummy file of a specific size

Primary LanguagePHPMIT LicenseMIT

Dummy File Creator

This is a command-line script which can generate a dummy (blank) file of a specific byte size.

Usage

  • 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

License

MIT License
Copyright (c) J. Miller (j@jmillerdesign.com)