#!/bin/sh for i in `cat sons-vocabulaire.txt` do curl "https://translate.google.com/translate_tts?ie=UTF-8&q=$i&tl=zh&client=tw-ob" -H 'Referer: http://translate.google.com/' -H 'User-Agent: stagefright/1.2 (Linux;Android 5.0)' > sons/$i.mp3 done