I have a file of 256MB. I'd like to retrieve a random amount of data from this file and copy it to another file.
Is there a way to do this in bash or some other way?
G-Man
Edit: choose a random number between 1 and 256 then copy that number of mb from one file to another.