[clue] Corpus of test files?

Chris Fedde chris at fedde.us
Mon Dec 21 21:16:19 MST 2015


I was going to whip up some quick perl script but I see the shell beat me
again!

perl -E 'for ("AAA" .. "ZZZ"){ open $f, ">", $_ and utime rand() + time(),
rand() * time(), $f; close $f'

On Mon, Dec 21, 2015 at 5:10 PM, Quentin Hartman <qhartman at gmail.com> wrote:

> Yeah, I was actually really surprised my initial research only turned up
> really convoluted awful solutions. I am super spoiled by GNU utils....
>
> Q
>
> On Mon, Dec 21, 2015 at 4:49 PM, David L. Anselmi <anselmi at anselmi.us>
> wrote:
>
>> Quentin Hartman wrote:
>> > wow, turns out touch supports faking mtimes:
>> >
>> >    for i in `seq 1 364`; do
>> >      touch -d "-$i days" `mktemp --tmpdir=$backup_root -u`
>> >    done
>> >
>> > that made that a lot easier...
>>
>> Funny how most often when you want to do something like this someone has
>> made it easy to do.
>>
>> Dave
>> _______________________________________________
>> clue mailing list: clue at cluedenver.org
>> For information, account preferences, or to unsubscribe see:
>> http://cluedenver.org/mailman/listinfo/clue
>>
>
>
> _______________________________________________
> clue mailing list: clue at cluedenver.org
> For information, account preferences, or to unsubscribe see:
> http://cluedenver.org/mailman/listinfo/clue
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20151221/fc303438/attachment.html 


More information about the clue mailing list