Some code to download all ontologies listed at the TONES Ontology Repository and to archive them in a local git repository.
You need Ruby 2.1.
git clone git://github.com/ontohub/tones_importer.git
cd tones_importer
bundle install
Download all ontologies
./import.sh
Now you can find the repository in ./workspace/.git