Abstract
This section describes how to use the DQ2 enduser tools.
Each of the DQ2 utilities serves a single purpose and they do not implement higher-level workflows. These following tools are currently available.
Detailed information for the usage of each of these tools can be viewed online with the -h/--help command line arguments.
4.1. dq2-check-replica-consistency
Refresh completeness information of a dataset replica.
Delete files from a dataset.
Delete replicas of a dataset.
4.6. dq2-delete-subscription
Delete a subscription to a site of a dataset.
Lists the possible destination sites for subscriptions.
Retrieves metadata information for the dataset.
4.11. dq2-get-number-files
Gets the number of files in a dataset.
4.12. dq2-get-replica-metadata
Get metadata of a dataset replica.
4.14. dq2-list-dataset-by-creationdate
List datasets according to their creation date.
4.15. dq2-list-dataset-replicas
List replicas of a dataset.
4.16. dq2-list-dataset-site
List datasets in a site.
4.17. dq2-list-datasets-container
List datasets in a container.
4.18. dq2-list-erased-datasets
List all erased datasets.
4.19. dq2-list-file-replicas
List all file replicas.
List all files in a dataset.
4.21. dq2-list-subscription
List all subscriptions.
4.22. dq2-list-subscription-info
List subscription information for a dataset.
4.23. dq2-list-subscription-site
List all subscriptions for a given site.
List all possible metadata values.
Checks availability of the DQ2 central services.
4.26. dq2-register-container
Registers a new container.
4.27. dq2-register-dataset
Registers a new dataset.
4.28. dq2-register-datasets
Registers new datasets.
4.29. dq2-register-datasets-container
Registers new datasets in a container.
Register files into a dataset.
4.31. dq2-register-location
Register a location for a dataset.
4.32. dq2-register-subscription
Register a subscription for a dataset to a site.
4.33. dq2-register-version
Register a new version for a dataset.
4.34. dq2-reset-subscription
Reset all subscription for a dataset.
4.35. dq2-reset-subscription-site
Reset a subscription for a dataset for a site.
Register a new dataset out of a partial copy of an existing dataset.
List all possible site sources.