1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-12-27 10:28:12 +00:00

Changed it looks for flash files

This commit is contained in:
J.Fernando Sánchez 2012-02-22 01:28:05 +01:00
parent 846a571cb0
commit 18be447295

View File

@ -5,7 +5,7 @@
# @author: balkian
destfile="$HOME/VideoCuevana$$"
info=($(lsof -c /npview/i | grep -i /tmp/flash | awk '{print $2; print $9}'))
info=($(lsof -p `pgrep -f flashplugin` | grep -i /tmp/flash | awk '{print $2; print $9}'))
dir="/proc/${info[0]}/fd"
file=${info[1]}
#echo "pid" $pid