linux下保存firefox的缓存flash
2013-03-07 18:17
148 查看
和保存图片一样,简单起见只有一个文件:webfilm.bash
#!/bin/bash
#copyright by lingbofeiyun
#This shell script is to search for firefox Cache and save film to~/Videos
cd /home/yxy/.mozilla/firefox/700doz1r.default/Cache
loops() {
for film in *
do
if [ -d $film ]
then
cd $film
loops
cd ..
elif [ -f $film ]
then
message=$(file $film|grep "Flash Video")
if [ -n "$message" ]
then
cp $film /home/yxy/Videos/Webcam
message=""
fi
fi
done
}
loops
exit 0
还有一个script用来清空firefox的Cache文件夹下面的内容,so easy
webclear.bash
#!/bin/bash
#copyright by lingbofeiyun
#This shell script is to clear firefox Cache
cd /home/yxy/.mozilla/firefox/700doz1r.default/Cache
rm -fr *
exit 0
#!/bin/bash
#copyright by lingbofeiyun
#This shell script is to search for firefox Cache and save film to~/Videos
cd /home/yxy/.mozilla/firefox/700doz1r.default/Cache
loops() {
for film in *
do
if [ -d $film ]
then
cd $film
loops
cd ..
elif [ -f $film ]
then
message=$(file $film|grep "Flash Video")
if [ -n "$message" ]
then
cp $film /home/yxy/Videos/Webcam
message=""
fi
fi
done
}
loops
exit 0
还有一个script用来清空firefox的Cache文件夹下面的内容,so easy
webclear.bash
#!/bin/bash
#copyright by lingbofeiyun
#This shell script is to clear firefox Cache
cd /home/yxy/.mozilla/firefox/700doz1r.default/Cache
rm -fr *
exit 0
相关文章推荐
- linux下保存firefox的缓存图片
- Linux firefox install adobe flash player
- Linux Firefox 下flash文字不能正常显示的解决方案
- Linux chrome/firefox flash过期问题解决办法
- Linux下Firefox无法保存书签(Can not save bookmark)的解决办法
- Ubuntu不错的下载工具Flashget for Linux 于firefox关联
- linux下firefox 3.0 flash失效的治理法子
- linux下使用firefox播放flash
- linux中在firefox中安装flash
- 山寨笔记-linux下为Firefox安装Adobe Flash Player
- [转]解决Linux下Firefox Flash文字乱码或不能显示的问题
- 清除Firefox下Flash(swf文件)缓存
- linux给firefox安装flash插件
- linux下 firefox安装flash debug …
- linux下firefox安装Adobe Flash Player插件
- linux下 firefox安装flash_player插件
- linux 下 为Firefox安装Adobe Flash Player
- Linux下安装flash player for firefox
- 在linux下为Firefox安装Adobe Flash Player 插件的问题
- GNU/Linux下Firefox的Adobe Flash Player插件的安装