I'm trying to rename a layer while converting it from a shapefile to sqlite. From looking at the ogr2ogr documents,
-nln name should do the trick. I've seen this similar post and this very similar post but neither will work for me.
ogr2ogr -f "sqlite" output.sqlite input.shp -nln "new_layer_name"