in reply to Re: Random Files Recursively Form Directory
in thread Random Files Recursively Form Directory
Yes the % is only for the target files(ie 25% should be the extensions specified). Next the data structure would become very big as I have drives with minimum 100GB that means 25Gb(25%) minimum so the time would be quite high (Time for file::find and Filelist prparation + shuffle of filelist). So is there another workaround?
I saw this module File::Random which implements rand functions. I was thinking of using this module in a while loop to iterate over the directory till specified size is encountered. What do you think of this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Random Files Recursively Form Directory
by CountOrlok (Friar) on Apr 02, 2013 at 13:01 UTC | |
by gautamparimoo (Beadle) on Apr 03, 2013 at 05:22 UTC |