Generating smaller randomly selected file sets out of a larger group of files is a more or less a trivial problem. rfsg is a trivial program for this trivial problem. platform independent and does what is should do - not more - and not less.
These details are provided for information only. No information here is legal advice and should not be used as such.