I have a series of images with the file names
motorist_intensity_2.jpg
...
...
motorist_intensity_256.jpg
ad I want to make an animated gif from them using ImageMagick. Now, the command
convert -delay 100 -loop 0 motorist_intensity_* motorist.gif
works, but the frames are out of sorted order. I can produce a sorted file list using
ls motorist_intensity_* | sort -n -t _ -k 3
but how can I pass that list to the covert
commad in place of the origial globmotorist_intensity_*
?