VMS Help  —  DIRECTORY
Backup: 28-NOV-2001 04:00:12.22 Effective: <None specified> Recording: <None specified> File organization: Sequential Shelved state: Online Caching attribute: Writethrough File attributes: Allocation: 390, Extend: 0, Global buffer count: 0, Version limit: 0, Backups disabled, Not shelvable Record format: Fixed length 512 byte records Record attributes: None RMS attributes: None Journaling enabled: None File protection: System:RE, Owner:RE, Group:RE, World:RE Access Cntrl List: None Client attributes: None Total of 1 file, 390/390 blocks. The example illustrates the DIRECTORY/FULL command. 4.$ DIRECTORY/VERSIONS=1/COLUMNS=1 AVERAGE.* The DIRECTORY command in this example lists only the highest version of each file named AVERAGE in the current default directory. The format is brief and restricted to one column. Heading and trailing lines are provided. 5.$ DIRECTORY BLOCK%%% The DIRECTORY command in this example locates all versions and types of files in the default device and directory whose names begin with the letters BLOCK and end with any three additional characters. The default output format is brief, four columns, with heading and trailing lines. 6.$ DIRECTORY/EXCLUDE=(AVER.DAT;*,AVER.EXE;*) [*...]AVER The DIRECTORY command in this example lists and totals all versions and types of files named AVER in all directories and subdirectories on the default disk, except any files named AVER.DAT and AVER.EXE. 7.$ DIRECTORY/SIZE=ALL FRESNO::DISK1:[TAMBA]*.COM The DIRECTORY command in this example lists all versions of all files with the file type COM in the directory TAMBA on node FRESNO and device DISK1. The listing includes the file size both in blocks used and in blocks allocated for each file. 8.$ DIRECTORY- _$ /MODIFIED/SINCE=14-DEC-2001:01:30/SIZE=ALL/OWNER- _$ /PROTECTION/OUTPUT=UPDATE/PRINTER [A*] The DIRECTORY command in this example locates all files that have been modified since 1:30 a.m. on December 14, 2001, and that reside on the default disk in all directories whose names begin with the letter A. It formats the output to include all versions, the size used and size allocated, the date last modified, the owner, and the protection codes. The output is directed to a file named UPDATE.LIS, which is queued automatically to the default printer queue and then is deleted. 9.$ DIRECTORY/SHELVED_STATE Directory MYDISK:[THOMPSON] MYFILE.TXT;2 Online NOT_SHELVED.TXT;1 Online SHELVED.TXT Shelved Total of 3 files. The DIRECTORY command in this example lists all the files in a directory and shows whether a file is shelved, preshelved, online, or remote. 10$ DIRECTORY *.PS Directory MYDISK:[TEST] REPORT.PS;1 1197 Total of 1 file, 1197 blocks. $ DIRECTORY/SIZE=UNITS=BYTES *.PS Directory $1$DKC600:[TEST] REPORT.PS;1 598KB Total of 1 file, 598KB By default, the first DIRECTORY command displays the file size in blocks. The second DIRECTORY command specifies that the file size be displayed in bytes.
Close Help