Updated: March 20, 2001
crfile - Create arbitrary sized files
[-w[len] | -n]
is used to create a file of the specified size, filled with random
ASCII characters. The
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.
- -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
wrap each line of output at len characters. If len
omitted, wrap at 80 characters.
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).
Julian T. J. Midgley <firstname.lastname@example.org>