分页: 1 / 1

如何用find在opera的cache中找到文件类型为mp3的文件?

发表于 : 2011-08-08 21:28
yechf
如题。
我经常听歌,有时候想保存,
我习惯opera,想在cache下看看。
可惜里面保存的文件像天书样,
例如
./g_0063/opr01BQ6.tmp
有谁知道,拜托告知,谢谢,

Re: 如何用find在opera的cache中找到文件类型为mp3的文件?

发表于 : 2011-08-08 22:10
wiewi
find ~/.opera/cache*/ -exec file {} \; | grep 'Audio'

Audio不一定准确,file xxx.mp3 输出:
big big world.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, Stereo
关键词太多,如果Audio不好使,你可以试试别的

Re: 如何用find在opera的cache中找到文件类型为mp3的文件?

发表于 : 2011-08-08 22:13
eexpress

代码: 全选

● type find-opera-1M 
find-opera-1M 已被别名为“find ~/.opera/cache*/ -cmin -60 -size +1000k -printf "------\t%p\t► %Ac\t► %kK\v\r" -exec file -b {} \;”
or
opera:cache

Re: 如何用find在opera的cache中找到文件类型为mp3的文件?

发表于 : 2011-08-08 22:15
yechf
楼上聪明,
:em11
我怎么没有想到。

Re: 如何用find在opera的cache中找到文件类型为mp3的文件?

发表于 : 2011-08-08 22:32
yechf
grep ‘III’
准确否?
谢谢WIEWI,EE。