Quantcast
Channel: Solo Estoy » shell
Viewing all articles
Browse latest Browse all 4

Shell: 批量修改扩展名

$
0
0

现在mp3搜索爬虫太猛了,只要被盯上就会有无数连接过来抓mp3,设置上按referer禁止也起不了太大作用,惹不起我还跑不起么,一怒把站上自己放的所有mp3全部干掉了,没删除,只是做了个批量改名,看你还爬不爬。

for i in *.mp3; do mv $i `basename $i .mp3`.bak ;done

一句话搞定。


Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images