Need Help: Exporting A City As Roads Only : QGIS

Hello! for an art project I need to export a city as roads only.
I managed to download the entire country from Geofabrik as a .OSM file.
How do I extract the city only in QGIS?

Two months I had managed to extract a city using QGIS but I seem to have completely forgotten the process and it just doesn’t work any more.

I’d use osmconvert and osmfilter - see https://wiki.openstreetmap.org/wiki/Osmfilter .

Maybe you have used the QuickOSM plugin inside QGIS?

and do a query there for “highway=* in XXXX” … where XXXX is the name of your city.

Thanks. Let me try these options.