Script1 locateallflashfiles.sh #!/bin/bash echo Please wait, searching for recent Flash Video Files lsof | grep Flash | grep plugin-co [he]gt[/he] listallflashfiles.txt while read line do ./processflashfiles.sh $line done [he]lt[/he] listallflashfiles.txt echo Press any key to close this Terminal read thekey Script2 processflashfiles.sh #!/bin/bash string1=$4 string2=$9 echo Copying /proc/$2/fd/${string1//u/ } to /home/$3/Videos${string2///tmp/}.flv cp /proc/$2/fd/${string1//u/ } /home/$3/Videos${string2///tmp/}.flv |
Printed at http://lxer.com/module/newswire/view/155486/index.html