Artificial intelligent assistant

Find all animated gif files in a directory and its subdirectories let's say that i've done a find for `.gif` files and got a bunch of files back. I now want to test them to see if they are **animated** gifs. Can i do this via the command line? I have uploaded a couple of examples in the following, in case you want to experiment on them. ### Animated GIF image ![animated gif image]( ### Static GIF Image ![static gif image](

This can easily be done using ImageMagick


identify -format '%n %i\
' -- *.gif

12 animated.gif
1 non_animated.gif


`identify -format %n` prints the number of frames in the gif; for animated gifs, this number is bigger than 1.

(ImageMagick is probably readily available in your distro's repositories for an easy install)

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy ce46d546f181a2117d5ea38a8ebd0cac