Skip to content

laapsaap/Dummy-File-Creator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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)

About

Create a dummy file of a specific size

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published