osmupdate would be the right tool to process your local planet.pbf file and create a new updated planet pbf.