分页: 1 / 2

fetch-cache.bash

发表于 : 2011-08-19 23:04
eexpress

代码: 全选

● cat fetch-cache.bash 
#!/bin/bash

new="/tmp/findnew"
touch $new
read -p "开始监视缓冲。。视频传输完成后,按回车。"
#find ~/.opera/cache*/ -iname "opr*.tmp" -newer $new -size +1000k -printf "------\t%p\t► %Ac\t► %kK\t►" -exec file -b {} \; -exec mv {} ~ \;
find ~/.opera/cache*/ -iname "opr*.tmp" -newer $new -size +1000k|while read i; do file $i|egrep 'Audio|MPEG'; [ $? -eq 0 ] && mv $i ~; done
find ~/.mozilla/firefox/ -iregex ".*/[0-9A-F]*" -newer $new -size +1000k|while read i; do file $i|egrep 'Audio|MPEG'; [ $? -eq 0 ] && mv $i ~; done
echo "视频已经复制到家目录。"

Re: fetch-cache.bash

发表于 : 2011-08-19 23:36
我就是我2
:em70
这是opera哦。

Re: fetch-cache.bash

发表于 : 2011-08-21 15:03
eexpress
op 和 fx嘛。都一起处理。

Re: fetch-cache.bash

发表于 : 2011-08-21 21:47
我就是我2
eexpress 写了:op 和 fx嘛。都一起处理。
试试。
把opera部分注释了。我现在只用firefox。 :em06

Re: fetch-cache.bash

发表于 : 2011-08-21 21:48
月下叹逍遥
写个py吧……神 :em70

Re: fetch-cache.bash

发表于 : 2011-08-21 23:19
eexpress
Ꙭ的,去改py吧。2句话的事情,还py。

Re: fetch-cache.bash

发表于 : 2011-10-06 21:30
独孤
神,firefox里加了权限……

Re: fetch-cache.bash

发表于 : 2011-10-06 21:55
eexpress
独孤 写了:神,firefox里加了权限……
没明白。思路是一样的,你改改。我基本不开fx的。

Re: fetch-cache.bash

发表于 : 2011-10-06 23:39
rediscover
Flashgot 无压力,ee的这个脚本对付不了很多东西。

Re: fetch-cache.bash

发表于 : 2011-10-07 10:58
eexpress
凡是缓冲的,都可对付嘛。
fx插件,自动获取多段url的,都是吹牛的。还不如flvcd。

Re: fetch-cache.bash

发表于 : 2011-10-07 11:01
monk
膜拜神脚 :em70

Re: fetch-cache.bash

发表于 : 2011-10-08 23:25
rediscover
人家flashplayer早都用fd来隐藏文件系统里的缓冲文件了。

Re: fetch-cache.bash

发表于 : 2011-10-09 0:46
adam8157
rediscover 写了:人家flashplayer早都用fd来隐藏文件系统里的缓冲文件了。
于是: http://www.adam8157.info/blog/2010/12/f ... er-script/

Re: fetch-cache.bash

发表于 : 2011-10-09 13:39
eexpress
rediscover 写了:人家flashplayer早都用fd来隐藏文件系统里的缓冲文件了。
从何说起的,不明白。我只是测试过国内的网站,常用的视频网站,都可以用这脚本搞出来。讲究实际吧。

Re: fetch-cache.bash

发表于 : 2011-10-09 13:42
eexpress
另外,从使用角度来说,这脚本只是flash-down.pl的补充。就是某些网站,商业性质浓厚,不能用flash-down.pl下载的时候,才使用的。