I noticed a pattern in .osm files : the third line tends to be its bounding box. Typically, the xml element that contains the bbox is called bounds.
I'd like to read this element without loading the whole file. Indeed, loading 80GB of data only to read one row seems pretty inefficient.
Is there a tool that lets you do this simple query ?