table of contents
CRFILE(1) | CRFILE(1) |
NAME¶
crfile - Create arbitrary sized files
SYNOPSIS¶
crfile -f filename -s size [-w[len] | -n]
DESCRIPTION¶
crfile is used to create a file of the specified size, filled with random ASCII characters. The -n switch allows the creation of files padded with null characters (ie. containing large 'holes') that have an apparent length of the specified size, but contain only one random character.
OPTIONS¶
- -f filename
- specifies the file to be created. If the file exists, an error is generated.
- -s size
- size is the size of the file, in bytes
- -wlen
- wrap each line of output at len characters. If len omitted, wrap at 80 characters.
- -n
- Pad the file with null characters instead of random ASCII text. This allows for the rapid creation of large files (useful for verifying that programs can deal with files > 2GB in size, for example).
AUTHOR¶
Julian T. J. Midgley <jtjm@xenoclast.org>
March 20, 2001 |