<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hi Georgios,</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">I had a similar problem with ~10k
scanned images from color slides a few years ago. <br>
</div>
<div class="moz-cite-prefix">To deal with it I used the perl script
attached here together with some custom shell scripts to pack the
commandlines for batches of images together.</div>
<div class="moz-cite-prefix">The script takes two images and two
date-strings. It then tries to find the number part of the image
file names, calculates the number of images in between and then
sets exif and file dates at equal intervals between the two dates.
This allows for sorting in KPA and - if you take smaller batches -
to approximately time the images correctly. Not perfect but good
enough.</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Here is a real use case (a simple shell
script - just a sequence of command lines):</div>
<div class="moz-cite-prefix">"""</div>
<div class="moz-cite-prefix"><span style="font-family:monospace"><span
style="color:#000000;background-color:#ffffff;">exif_date_range
k140_01 4.2.6-14:00 k140_30 4.2.6-22:0
</span><br>
exif_date_range k140_31 10.2.6 k140_32 <br>
exif_date_range k140_33 15.3.6 k140_36 20.4.6
<br>
exif_date_range k140_37 27.4.6 k140_43
<br>
exif_date_range k140_44 28.4.6 k140_50
<br>
mv new/* .
<br>
rmdir new<br>
<br>
"""</span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace">The
images k140_01 to .._30 all were taken on Feb 4th 2006.</span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace"><br>
</span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace">You
might need to fiddle with the script to get the numbering
detection right.</span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace">Also
you need the respective perl modules installed (the lines with
"use ..."). They usually come with the packages of your
distribution.</span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace"><br>
</span></div>
<div class="moz-cite-prefix"><span style="font-family:monospace">Happy
tagging, Andreas<br>
</span></div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix"><br>
</div>
<div class="moz-cite-prefix">Am 28.02.22 um 21:15 schrieb g:<br>
</div>
<blockquote type="cite"
cite="mid:e40d487c-512f-0221-c731-30dd2d5b4e36@comcast.net">
<br>
Hi,
<br>
<br>
I find myself needing to order scanned images in time and try to
assign dates to them. The filenames themselves are reasonably
sorted, i.e. when I list the filenames alphabetically they are
also close to ordered in time. The problem is that the files
themselves have mtimes that are practically randomly ordered and
it looks to me that kphotoablum uses mtime as the sorting
criterion in the absence of exif info etc.
<br>
Is there a way for me to tell kphotoalbum to display the selected
pictures ordered by filename? (For example we can say View|Show
oldest first or show newest first. Could we not use other criteria
for ordering selected images?).
<br>
<br>
As an alternative I was thinking about a small script that would
sort the files by name, and then assign/touch the mtime attribute,
incrementing it by an hour or a day for each successive file. Am I
overthinking this?
<br>
<br>
A made-up example:
<br>
<br>
I have filename scan_19931020.tiff with mtime 2022-01-22T101112
<br>
and then scan_19891101.tiff with mtime 2022-02-22T103344
<br>
and so on.
<br>
<br>
<br>
Thank you.
<br>
<br>
Georgios
<br>
<br>
<br>
<br>
</blockquote>
<p><br>
</p>
</body>
</html>