Skip to content

mtlynch/dummy_file_generator

Repository files navigation

Dummy File Generator

Build Status Coverage Status License

Overview

Dummy File Generator generates files containing random data. The user can specify the number of bytes per file and the total amount of data to fill. Dummy File Generator will generate enough files to meet or exceed the total data amount specified.

Example Usage

The example below demonstrates using the dummy file generator to generate 250 MiB of dummy files, made up of files of size 50 MiB each:

$ python dummy_file_generator/main.py \
  --size_per_file 52428800 \
  --total_size 262144000 \
  --output_prefix /tmp/test1/dummy-test-
$ du -h /tmp/test1/*
50M     /tmp/test1/dummy-test-00000000.testfile
50M     /tmp/test1/dummy-test-00000001.testfile
50M     /tmp/test1/dummy-test-00000002.testfile
50M     /tmp/test1/dummy-test-00000003.testfile
50M     /tmp/test1/dummy-test-00000004.testfile

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published