|XP is just a number|
Group file per time intervalby raiten (Acolyte)
|on Feb 07, 2013 at 22:37 UTC||Need Help??|
raiten has asked for the
wisdom of the Perl Monks concerning the following question:
I'm looking for a way to parse a directory and group files which have a create date (or exif create date) at less than n seconds interval between each other (consecutive files in time) I'm trying to preprocess files to generate a list for hugin panoramic generation.
date is in filename (yyyymmdd_hhMM--name) or in exif create date (exiftool). I can extract a primary list because I tagged my files with a keyword but it's not sufficient to get a good output by panostart. So in this list of filenames, I want to find a way to generate sublist of files which have a maximum time interval of n seconds between their datetime (typically 5-10 sec)
Any ideas how to do that ?
Thanks a lot. Cheers