Команда: make-random-file
sfk make-random-file outfilename size [-text] [-seed=n]
creates a file full of random binary data for testing.
size parameters like 5m, 100k, 9000b are supported.
type "sfk dupfind" for details on size parameters.
options
-text create text data instead of binary.
-char s create file filled with character s.
e.g. -char " " fills with blanks.
-seed=n specify randomizer seed. default is
to use a time based seed.
-lock=n wait n msec before closing the file,
to keep the file locked for testing.
see also
sfk make-zero-file create file with null bytes
examples
sfk make-random-file tmp1.dat 1m -seed=1234
produce a file tmp1.dat with 1 mbyte of size.
sfk make-random-file mydir\foo.txt 1k -text
create folder mydir, and foo.txt within.