quasi-[OT] Adobe Flash
Suvayu Ali
fatkasuvayu+linux at gmail.com
Wed Oct 20 21:04:23 UTC 2010
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.
More information about the users
mailing list