I believe dolfin-convert
is considered deprecated now. Take a look at meshio: https://github.com/nschloe/meshio
There is also a huge thread on this forum about meshing, which contains many examples: Transitioning from mesh.xml to mesh.xdmf, from dolfin-convert to meshio