[clue] Corpus of test files?

Quentin Hartman qhartman at gmail.com
Mon Dec 21 15:37:47 MST 2015


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...

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

> Anyone know of a place where I might be a be able to find a tarball (or
> something) that contains a corpus of files that have a large number of
> modification times? My perfect solution would be something that creates a
> tarball of zero-length files, one for each day for the last year, so I can
> test a backup paring script I'm working on.
>
> Thanks!
>
> QH
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cluedenver.org/pipermail/clue/attachments/20151221/2a9518e8/attachment.html 


More information about the clue mailing list