A rather crude shell script to transform a batch of quicktime movies to GIF animations by way of Ffmpeg and Gifsicle. The script takes the path to a folder as first (and only) argument. It’s not a very refined solution, as there’s no way to use additional arguments e.g. to change ffmpeg’s or gifsicle’s options.
$ chmod +x mov2gif.sh
$ ./mov2gif.sh path/to/quicktime/movies/
The idea for this stems for dergachev’s gist dergachev/GIF-Screencast-OSX.md.