Hi Luther,
What I am looking for is speed. The image folder contains 25000 jpg files. And Mark's script returns a list of 25000 filenames in just a couple of seconds (even if the image folder is a network mount).
Your Finder script is much too slow (and it returns the full paths instead of only the filenames). I need speed, that's why I need the shell script instead of a Finder script. Unfortunately I really wouldn't know how to edit Mark's script in a way that the list is sorted by modification date with the newest first (instead of alphabetically).
Anyway, thank you for your answer.
- - - - - - - - - - - - - - - - - -