How can I delete feature from Shapefile?
This question was asked a few times on the mailing list, for instance here and here. It’s recommended to look at these threads as they provide explanation on how to delete entries from Shapefile. It is not possible to delete features from Shapefile using ogr2ogr utility. In order to remove entries from Shapefile, you need to call OGRLayer::DeleteFeature() method, either directly from C++ program or using one of alternative interface like OGR C API or bindings to other programming languages.