NIH | National Cancer Institute | NCI Wiki  

Error rendering macro 'rw-search'

null

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

This page is a work in progress.

If your user account has the Group Administrator role, and if you have write permission on a collection, you can permanently delete that collection, and associated metadata.

To delete a collection: 

  1. Run the following command:

    dm_delete_collection [-r] <collection-path>

    The following table describes each parameter:

    ParameterDescription

    [-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.

  2. Type Y and press Enter.

For example, the following command deletes the  /TEST_NO_HIER_Archive/downloads collection, all sub-collections within that collection, and all files within those collections.

dm_delete_collection –r /TEST_NO_HIER_Archive/downloads

For instructions on performing a similar task in the GUI, refer to Deleting an Empty Collection via the GUI

  • No labels