Caltech Library logo

check

syntax

    dataset check COLLECTION_NAME [COLLECTION_NAME ...]

Description

Check reviews one or more collections and reports if any problems are identified based on the collection.json file found in the folder holding the collection’s pairtree. Check only works on local disc based collections. If you are storing your collection in the cloud (e.g. S3 or Google Cloud Storage) then download a copy before running check.

Usage

If multiple instances of dataset write (e.g. create or update) to a collection then it is possible that the JSON file collection.json will become inaccurate.

    dataset check MyRecordCollection.ds
    dataset check MyBrokenCollection.ds MyRecordCollection.ds

Related topics: repair