beautypg.com

Getting file information (fileinfo command), Getting file information (fileinfo, Command) – HP NonStop G-Series User Manual

Page 56

background image

Managing Files With TACL

Guardian User’s Guide 425266-001

3 -6

Searching For Files With Related Names

(FILENAMES Command)

Searching For Files With Related Names (FILENAMES Command)

To get a list of all the file names that match a file-name string, use the FILENAMES
command and specify the string.

You can use wildcards in your FILENAMES command as described under

Using

Wildcards

on page 3-5.

To search all volumes and all subvolumes for files whose names begin with the word
“CLASS”:

It can take some time to check all possible volumes and subvolumes. To stop a
FILENAMES command and restore your TACL prompt, press the Break key.

To list every file named HANGUP in every subvolume on every disk volume in the
system:

To display all five-letter file names in the current subvolume that begin with the letters
SEC and end with the number 2:

The TACL program displays file names from the current (or default) subvolume because
a subvolume name was not included in the command.

Getting File Information (FILEINFO Command)

To list information about a file, include the file name in a FILEINFO command:

7> FILENAMES $*.*.CLASS*

$SAG.MEG

CLASSN

$CHANGE.SPUDS

CLASS CLASSES CLASSIC

8> FILENAMES $*.*.HANGUP

9> FILENAMES SEC?2

$HERST.STEIN

SEC12 SEC22

10> FILEINFO \MEL.$GERT.STEIN.BOOKS
\MEL.$GERT.STEIN
Code EOF Last Modification Owner RWEP PExt SExt
BOOKS 101 10961 07OCT1998 14:27 8,23 NUUU 18 18

This manual is related to the following products: