Re: quasi-[OT] Adobe Flash

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux