swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Script for swfextract


From: address@hidden
Subject: [Swftools-common] Script for swfextract
Date: Thu, 03 Jul 2008 14:53:35 +0200
User-agent: Thunderbird 2.0.0.14 (X11/20080502)

A script that help me plenty :

#!/bin/sh
for i in ./*.swf ; do
   for j in `swfextract $i | grep -E PNGs.* -o | grep -E [0-9]+ -o` ; do
       echo "$i -> extract png $j";
       swfextract -p "$j" "$i" -o "$i"_"$j".png
   done
   for j in `swfextract $i | grep -E JPEGs.* -o | grep -E [0-9]+ -o` ; do
       echo "$i -> extract jpeg $j";
       swfextract -j "$j" "$i" -o "$i"_"$j".jpg
   done
   for j in `swfextract $i | grep -E Shapes.* -o | grep -E [0-9]+ -o` ; do
       echo "$i -> extract shapes $j";
       swfextract -i "$j" "$i" -o "$i"_"$j".swf
   done
for j in `swfextract $i | grep -E MovieClips.* -o | grep -E [0-9]+ -o` ; do
       echo "$i -> extract movieclips $j";
       swfextract -i "$j" "$i" -o "$i"_"$j".swf
   done
done

#by pizaninja




reply via email to

[Prev in Thread] Current Thread [Next in Thread]