I have got a country.osm file and I want to split it alongside of admin_level=8. I extracted previously ~3.000 poly files into a separated folder. I have batch script, that split them, if I give the input and the poly:
osmosis --read-xml %1 enableDateParsing=no --bounding-polygon file=%2 completeWays=no completeRelations=no clipIncompleteEntities=true --write-xml file=clc_%2.osm
The question: Are there any way to do this parallel and the input file read just once?