SWF_FILE=`grep --color=none all_deminified.js | "_swfPath\": " | sed -E "s/(.*?)swfPath\": \"rsrc.php(.*?.swf)\"/\2/" | sed 's/\\\\//g'`
/usr/bin/wget "http://static.ak.fbcdn.net/rsrc.php/${SWF_FILE}" -O ${SWF_OUTPUT}
https://github.com/rogerhu/connect-js/blob/master/update_fb_github.sh
No comments:
Post a Comment