Skip to content

Instantly share code, notes, and snippets.

@jaymzcd
Created October 12, 2010 18:01
Show Gist options
  • Select an option

  • Save jaymzcd/622620 to your computer and use it in GitHub Desktop.

Select an option

Save jaymzcd/622620 to your computer and use it in GitHub Desktop.
mkdir outfiles && for file in *.swf; do swfextract $file -p `swfextract $file | grep "PNG" | awk -F') ' '{print $2}' | awk -F',' '{print $1}'`; mv output.png outfiles/`basename $file .swf`.png; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment