in reply to randomly selecting files

Thanks for the help so far. Unfortunately yes, Blazer, I know, but it is what I need. I do take your point though. You think it might take a while?

Replies are listed 'Best First'.
Re^2: randomly selecting files
by Anonymous Monk on Jul 29, 2005 at 11:31 UTC
    How much is a while? It takes about 7140 times as long as merging one set of files. It's very likely that your program will be I/O bound, and hence the size of the files are going to be the biggest factor in determining whether or not "it takes a while".
Re^2: randomly selecting files
by blazar (Canon) on Jul 29, 2005 at 12:01 UTC
    Well, 7140 are not that many. Well, depending on you hardware, OS, FS, that is.

    It also depends on how big the input files are. If they are say 10 Mb each (not that unreasonable), then you will have 10 * 33 * 7140 Mb = 2.25 Tb of disk usage for the output files. That is a lot of disk space IMO.

    One still wonders why you have to do this and if there could not be alternative strategies, too...

    PS: please reply to one's nodes instead of replying to your own and address your reply to someone else referring to his post...