Skip to content

January 20, 2012

1

Bringing back old flash /tmp files!

I recently wrote a script for playing files on recent browsers with mplayer, a friend asked me if could bring the old system back… so here I did it, each time you execute this script you’ll have your current playing videos linked again in /tmp with their old names:

for i in $(pgrep -f flash); do file /proc/$i/fd/*|awk '/Flash/{ gsub(/`/, ""); gsub(/:/, ""); system("ln -s " $1 " " $6); }'; done
Read more from Life
1 Comment Post a comment
  1. Jan 21 2012

    Me da quete has liado y has puesto tal cual el comando de la anterior vez xD

    Reply

Share your thoughts, post a comment.

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments