How to display multiple images in date sequence by file date?

Joseph Sinclair plug-discussion at stcaz.net
Tue Jun 23 18:08:56 MST 2015


for filename in "$(ls -lt)" ; do display-image "$filename" ; done

replace display-image with your preferred image display tool.

Alternatively, most image utilities (e.g. gthumb) offer the option to sort by date and many can run a slideshow of the images in current sort order.


On 06/23/2015 05:25 PM, joe at actionline.com wrote:
> Thanks Bob ... but that only lists the files.
> 
> Guess I did not explain my question clearly enough.
> 
> I should have asked: 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?
> 
> 
> -------------
> Bob suggested:
> 
>> ls -lt
> 
> ----------------
>> 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 all
>>> those files in date sequence from newest to oldest?
> 
> 
> 
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20150623/2d367e79/attachment.pgp>


More information about the PLUG-discuss mailing list