mirror of
https://github.com/balkian/dotfiles.git
synced 2024-11-23 20:52:28 +00:00
Changed it looks for flash files
This commit is contained in:
parent
846a571cb0
commit
18be447295
@ -5,7 +5,7 @@
|
|||||||
# @author: balkian
|
# @author: balkian
|
||||||
|
|
||||||
destfile="$HOME/VideoCuevana$$"
|
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"
|
dir="/proc/${info[0]}/fd"
|
||||||
file=${info[1]}
|
file=${info[1]}
|
||||||
#echo "pid" $pid
|
#echo "pid" $pid
|
||||||
|
Loading…
Reference in New Issue
Block a user