On Wednesday 20 October 2010 12:18 PM, Petrus de Calguarium wrote:
> How can I save it without redundantly re-downloading it?

This is browser independent but only works if you have *exactly one*
flash video playing on your machine. Customise it to your needs and
enjoy. :)

> dupe_flash ()
> {
>     pid=$( ps -fu `whoami`| egrep 'libflashplayer\.so'| egrep -om 1 -E 
> '\<[0-9]+\>'| head -1 );
>     fid=$( lsof -p $pid | egrep '/tmp/Flash'| egrep -om 1 -E 
> '\<[0-9]+[a-z]\>'| tr -d 'a-z');
>     cp /proc/${pid}/fd/${fid} ~/flashtmpfile
> }


-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to