I having the following linux command to identify all .gif files and list its frames in the active directory:
identify -format '%n %i\n' -- *.gif
Now I want to modify and expand the command to fullfil the following:
indentify just the .gif files with MORE than 1 frame
look also in all subdirectories (right now the command is just looking at the active directory)
a command to: a) list the identified files b) delete the identified files (more important)
find . -type f -name \*.gif -exec sh -c \ 'identify -format "%[fx:n>1]\n" "$0" | grep -q 1' {} \; -print -delete