beautypg.com

Listing files and their information, Listing subvolume contents (files command), Using wildcards – HP NonStop G-Series User Manual

Page 55

background image

Managing Files With TACL

Guardian User’s Guide 425266-001

3 -5

Listing Files and Their Information

Listing Files and Their Information

The TACL program has several commands that give you information about your files or
about other users’ files.

Listing Subvolume Contents (FILES Command)

To list the names of all the files in your current default subvolume, enter the FILES
command without a subvolume name:

To list all the files in any subvolume, enter FILES followed by the subvolume name. For
example, to list the files in the subvolume $GERT.FELIX:

To list the files that reside in a subvolume on another system, give the complete
subvolume name:

Using Wildcards

You can use these wild-card characters to match characters anywhere in a subvolume or
volume name (but not a node name):

*

Use the asterisk (*) to match zero to eight characters.

?

Use the question mark (?) to match a single character.

You cannot use wild cards to match the periods (.) that separate the elements of a file-
name string (system, volume, subvolume, and file names). Also, if you use a wild card
in the volume name, you must include the dollar sign.

For example, to list all the files in every subvolume on the $SYSTEM disk whose
subvolume name begins with the letters SYS:

You can use more than one wild card in the same command. For example, to list all files
that reside in any subvolume that has a three-character name beginning with KH on all
volumes beginning with $MT:

1> FILES
$GERT.STEIN

BELL BOOK CANDLE PATIENCE SARAH

2> FILES $GERT.FELIX
$GERT.FELIX

AGILITY CATDOM CATRWAL COMIX FELINES

3> FILES \DIVE.$WRECK.RICH

4> FILES $SYSTEM.SYS*

6> FILES $MT*.KH?

This manual is related to the following products: