dataset repair COLLECTION_NAME
repair trys to repair a collection correcting as best it can the collection.json file defining where things are to be found.
collection.json
Our collection name is “MyCollectiond.ds”.
dataset repair MyCollection.ds
Related topic: check, migrate