The delete archive command deletes archived files from Tivoli® Storage Manager server storage. Your administrator must give you the authority to delete archived files.
This command is valid for all clients.
>>-Delete ARchive--+------------+-------------------------------> '- --options-' >--+- --filespec----------------------+------------------------>< '- --{--filespacename--}--filespec-'
Use the filespacename if the name has changed, or if you are deleting files archived from another node with drive labels that are different from yours.
You can specify a UNC name; drive label names are only used for removable media.
You must specify a mixed or lowercase NTFS or ReFS file space name that is enclosed in quotation marks and braces. For example, {"NTFSDrive"}. Single quotation marks are valid in loop mode. For example, {"NTFSDrive"} and {'NTFSDrive'} are both valid. In batch mode, only single quotation marks are valid. The single quotation mark requirement is a restriction of the operating system.
Option | Where to use |
---|---|
dateformat | Client options file (dsm.opt) or command line. |
description | Command line only. |
filelist | Command line only. |
noprompt | Command line only. |
numberformat | Client options file (dsm.opt) or command line. |
pick | Command line only. |
subdir | Client options file (dsm.opt) or command line. |
tapeprompt | Client options file (dsm.opt) or command line. |
timeformat | Client options file (dsm.opt) or command line. |
dsmc delete archive /user/home/proj1/budget
dsmc del arch "/user/home/proj1/*.txt"
dsmc delete archive "/user/project/*" -pick
dsmc delete ar "/user/projects/*" -description="Monthly Budgets 2010" -pick -subdir=yes
dsmc delete archive {"abc"}\proj\*
dsmc delete archive c:\plan\proj1\budget.jan
delete archive c:\plan\proj1\*.txt
dsmc delete archive c:\project\* -pick
dsmc delete ar c:\projects\* -description="Monthly Budgets 2013" -pick -subdir=yes