Page History
Excerpt | ||
---|---|---|
| ||
dm_delete_collection |
You can permanently delete a collection, including sub-collections, files, links, and associated metadata, if the following criteria are all true:
- Your user account has the group administrator role.
- You created that collection.
- That collection is less than 90 days old. (This criterion does not apply to links.)
Show If | ||
---|---|---|
| ||
If your user account has the system administrator role, you can permanently delete any collection, including sub-collections, files, links, and associated metadata. |
To delete a collection:
Run the following command:
Code Block dm_delete_collection [-r] <collection-path>
The following table describes each parameter:
Parameter Description [-r]
An optional parameter:
- If you specify this parameter, the system deletes all the files and sub-collections under the specified collection recursively.
- If you do not specify this parameter, the system deletes the collection only if it is empty.
<collection-path>
A path within DME. Specify the collection that you want to delete. The system prompts you to confirm the deletion.
- Type Y and press Enter. If you specified the recursive (-r) parameter, the system asks whether you want to see the data that will be deleted.
- Respond to the prompt and press Enter. The system lists or describes the data to be deleted and prompts you to confirm the deletion again.
- Type Y and press Enter.
...