1 person following this project (follow)

Project Description
This small command-line utility can be used to 'inflate' a text file with extra lines. E.g. test should be performed on 500Mb CSV file, but there is only file with 10 Mb of data. Inflater can be used to multiply number of data lines.

Usage

inflater sourcefile [/d:destinationfile] [/f:factor] [/s:skipsourcelines]

sourcefile - Path to the source file. Its contents will be copied to destinationfile path and filled with additional number of rows according to factor setting.
destinationfile - Optional. Path to destination file. If omitted then file with name '<sourcefilefolder>\<sourcefilename>_inflated.<extension>' will be created (or appended).
factor - Optional. How many times source rows will be copied to destination file. Resulting file size = <srcsize> * (factor_ + 1).
skipsourcelines - Optional. Number of rows from the beginning of source file which should not be used to fill destination file (can be used to skip header row).

Last edited Jun 24 2009 at 2:27 PM by ssvinarenko, version 3