Purging files using file-name templates – HP NonStop G-Series User Manual
Page 59
![background image](/manuals/396922/59/background.png)
Managing Files With TACL
Guardian User’s Guide — 425266-001
3 -9
Purging Files Using File-Name Templates
You can purge more than one file at a time from the same subvolume or from separate
subvolumes by entering a list of file names. Separate the file names with spaces or with
commas. For example, these commands show two ways of punctuating a list of file
names:
Purging Files Using File-Name Templates
Another way to purge more than one file at a time is by using file-name templates using
an asterisk (*) as a wild card. In this example, all files that begin with SECT are purged.
Whether or not you specify a confirm option, the TACL program confirms the file-name
template before purging all files that match the template.
If you specify the CONFIRM option, the TACL program prompts for purge
confirmation of each file before deleting it.
You can also delete files with the File Utility Program (FUP). See
17> PURGE SECT01 SECT02 SECT03
SECT01 Purged
SECT02 Purged
SECT03 Purged
18> PURGE STEIN.BOOK,RHALL.TITLE
STEIN.BOOK Purged
RHALL.TITLE Purged
17> PURGE SECT*
PURGE $STEIN.BOOK.* (y/[n])? Y
$STEIN.BOOK.SECT01 Purged
$STEIN.BOOK.SECT02 Purged
$STEIN.BOOK.SECT03 Purged
17> PURGE /CONFIRM/ SECT*
PURGE $STEIN.BOOK.SECT01 (y/[n])? N
PURGE $STEIN.BOOK.SECT02 (y/[n])? Y
$STEIN.BOOK.SECT02 Purged
PURGE $STEIN.BOOK.SECT03 (y/[n])? N