cirwin at #wiktionary showed me a better way of doing this using python. Here is how-to for the curious:
svn co https://mwclient.svn.sourceforge.net/svnroot/mwclient/trunk cd trunk phython #at least python 2.4 is needed (see the README.txt that comes with mwclient) import mwclient commons = mwclient.Site('commons.wikimedia.org') for img in commons.pages['Category:French pronunciation'].members(): if img.name.endswith('.ogg'): print img.name.encode('utf-8') saveas = open(u"/tmp/%s" % img.name[5:],'w') remote = img.download() saveas.write(remote.read()) saveas.close() Then Ctrl-D to get out of python. This is going to populate your /tmp/ folder with all the ogg files (130M). I forgot to ask cirwin about how to keep the local copy up-to-date so if anyone here is familiar with python or mwclien or knows Bryan <http://commons.wikimedia.org/wiki/User_talk:Bryan > and can get an answer from him (or cirwin) I would appreciate it very much. Thanks, _______________________________________________ Wiktionary-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wiktionary-l
