Ok – so after the last FAQ on How to create empty files of a specific size, I figured I should also post about how I’ve created files of a specific size with random content. You see – there’s a need for both so that I can test various software and it’s effect on the system.
I started with this utility here which allows the creation of the files that I need.
Download the utility and run the command
rdfc filename size
where filename is the path and file for the file to be created and the size is the size in bytes