Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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 ran-
       dom 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			     CRFILE(1)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=crfile&sektion=1&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help