Welcome, this is a tool for making test files. They will be filled with the numbers 0-9 repeating.
make
./testfile_maker [options]
filename: Default: test
-c The count of the files to be created.
Default: 1
-d The directory where the files should be created.
Default: Current working directory
-e The extension of the files that will be created.
Default: No extension
-l Writes each character out to a new line. To maintain size only half the
number of characters are written out because of the newline character.
-s The size of each file measured in bytes. Adding a trailing 'k', 'm', or 'g'
will convert the value into kilobytes, megabytes, or gigabytes respectively.
Default: 10
##Testfile Maker Welcome, this is a tool for making test files. They will be filled with the numbers 0-9 repeating. ###To Run: make ./testfile_maker [options] ###Options: ##### [file name] [-c val] [-d dir] [-e [extension name]] [-h] [-l] [-s val[k|m|g]] filename: Default: test -c The count of the files to be created. Default: 1 -d The directory where the files should be created. Default: Current working directory -e The extension of the files that will be created. Default: No extension -l Writes each character out to a new line. To maintain size only half the number of characters are written out because of the newline character. -s The size of each file measured in bytes. Adding a trailing 'k', 'm', or 'g' will convert the value into kilobytes, megabytes, or gigabytes respectively. Default: 10
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#3 | 21817 | mbirky |
Removing comment from sanity test script that is no longer relevent. Adding the directory arugement explanation to the readme. |
||
#2 | 21816 | mbirky |
Adding in the directory argument. This allows the tool to better integrate with P4v as a custom tool. Fixed a small cleanup issue with the sanity test script. |
||
#1 | 18325 | mbirky | Changing the folder locations to fix issues with workshop naming convention. | ||
//guest/mbirky/testfile_maker/main/README.md | |||||
#1 | 18324 | mbirky |
Changing the folders to have a main. Should fix some issues intorduced by adding a branch in the workshop |
||
//guest/mbirky/testfile_maker/README.md | |||||
#2 | 15288 | mbirky | Updating the readme | ||
#1 | 15212 | mbirky | Moving the README file to have the .md extension. | ||
//guest/mbirky/testfile_maker/README | |||||
#8 | 11689 | mbirky |
Adding in the ability to specify the size measured in k, m, or g. @mwittenberg |
||
#7 | 11479 | mbirky | Adding in the option for writing each character on a new line @mittenberg | ||
#6 | 11100 | mbirky |
Adding the help option with help functions for when bad arguments are passed in. @mwittenberg |
||
#5 | 10990 | mbirky |
Changing how the options are parsed. This method suggested by @mwittenberg offers a few advantages such as being able to pass -xyz for options instead of having to separate them out into -x -y -z. |
||
#4 | 10956 | mbirky |
Adding the option of setting the extension of the files. @mwittenberg |
||
#3 | 10810 | mbirky | Fixing the instructions for running the application. | ||
#2 | 10809 | mbirky |
Added the -n flag for naming the file. Edited the Makefile so that it no longer does a remove on test* files. And edited the README to document the new naming feature. |
||
#1 | 10731 | mbirky |
Initial commit for testfile maker. Includes two options -c and -s. The -c option allows for the number of files created to be set. The -s option allows for the size of the file in bytes to be set. |