Joe asked:
>> I have a directory/folder that contains several
>> dozen image files, all with different file dates.
>> How can I create a script that would display the images
>> that those files represent (not just list the files)
>> in date sequence from newest to oldest?
---------------
Joseph Sinclair replied (in part):
> for filename in "$(ls -lt)" ; do display-image "$filename" ; done
>
> replace display-image with your preferred image display tool.
---------------
That script is exactly what I was hoping for,
but sadly, it didn't work for me. What did I do wrong?
When I put 7 small images in a folder to try that script,
I got the result shown below:
$ for filename in "$(ls -lt)" ; do display "$filename" ; done
display: no decode delegate for this image format `15 z3.jpg
-rw-rw-r- joe 4302 Jun 24 11:15 z5.jpg
-rw-rw-r- joe 8878 Jun 24 11:15 z9.jpg
-rw-rw-r- joe 6371 Jun 24 11:15 z8.jpg
-rw-rw-r- joe 4518 Jun 24 11:15 z2.jpg
-rw-rw-r- joe 6017 Jun 24 11:15 z1.jpg
-rw-rw-r- joe 7554 Jun 24 11:15 z6.jpg
-rw-rw-r- joe 5662 Jun 24 11:15 z7.jpg' @ error/constitute.c/ReadImage/532.
See the results better in this screen capture:
http://www.upquick.com/temp/decode.error.jpg
The image shown is not one of my test images.
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss