NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Deleted statement about collection age, based on observation in the UAT tier & feedback from the DME team that the age limit applies only to files, not collections as well. I had apparently misunderstood HPCDATAMGM-1107.

...

  • 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.)

To delete a collection: 

  1. Run the following command:

    Panel
    borderColorsilver
    borderStylesolid
    Clipboard
    AllowLineWraptrue

    dm_delete_collection [optional parameters] <collection-path>


    The following table describes each parameter:

    ParameterDescription

    [-f]

    By default, the system performs a soft deletion. The system retains the specified collection for two years and then permanently deletes it. To perform immediately permanent deletion, include the -f parameter.

    [-r]

    An optional parameter:

    • If you specify this parameter, the system deletes all the files and subcollections 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. If you specified the recursive (-r) parameter, the system asks whether you want to see the data that will be deleted. 
  3. 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.
  4. Type Y and press Enter. The system responds based on your parameters. 

...