Skip to content

Instantly share code, notes, and snippets.

@jaredrummler
Created September 10, 2019 07:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaredrummler/f61850a63e5243741cd8de096bb3e6ab to your computer and use it in GitHub Desktop.
Save jaredrummler/f61850a63e5243741cd8de096bb3e6ab to your computer and use it in GitHub Desktop.
gifsicle --unoptimize --explode original.gif && 
find . -iname "*\.gif\.*" | sort > frame_list.txt && 
find . -iname "*\.gif\.*" | sort -r >> frame_list.txt && 
cat frame_list.txt | xargs gifsicle > reversed.gif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment