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:
parent
846a571cb0
commit
18be447295
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user