Difference between revisions of "Shell Commands/XADList"

From MorphOS Library

< Shell Commands

(Created page with "''From the original xadmaster.library manual'': '''XADList''' - examines files and prints the names of the archivers. FILE/M, ALL/S, NE=NOEXTERN/S <nowiki> FILE - Speci...")
 
 
Line 3: Line 3:
 
'''XADList''' - examines files and prints the names of the archivers.
 
'''XADList''' - examines files and prints the names of the archivers.
  
FILE/M, ALL/S, NE=NOEXTERN/S
+
FILE/M, ALL/S, NE=NOEXTERN/S, ONLYKNOWN/S
 
  <nowiki>
 
  <nowiki>
FILE     - Specifies the file/drawer that should be examined.
+
FILE     - Specifies the file/drawer that should be examined.
          Wildcards of any kind are supported. You can specify
+
            Wildcards of any kind are supported. You can specify
          multiple filenames or directories. If FILE is not
+
            multiple filenames or directories. If FILE is not
          specified, the current directory will be examined.
+
            specified, the current directory will be examined.
  
          If you specify a directory, the directory is entered
+
            If you specify a directory, the directory is entered
          and the contents is shown also without ALL option. If
+
            and the contents is shown also without ALL option. If
          you use wildcards in the name the directory is listed
+
            you use wildcards in the name the directory is listed
          normally, but you may add /#? to show its contents.
+
            normally, but you may add /#? to show its contents.
  
ALL     - xadList only examines one directory level by default. With ALL,
+
ALL       - xadList only examines one directory level by default. With ALL,
          it goes as deep as possible.
+
            it goes as deep as possible.
  
NOEXTERN - prohibits the use of external clients for
+
NOEXTERN - prohibits the use of external clients for
          recognition purposes.
+
            recognition purposes.
 +
 
 +
ONLYKNOWN - Shows only the known archives.
 
</nowiki>
 
</nowiki>
 
Example:
 
Example:

Latest revision as of 12:25, 4 July 2015

From the original xadmaster.library manual:

XADList - examines files and prints the names of the archivers.

FILE/M, ALL/S, NE=NOEXTERN/S, ONLYKNOWN/S

FILE      - Specifies the file/drawer that should be examined.
            Wildcards of any kind are supported. You can specify
            multiple filenames or directories. If FILE is not
            specified, the current directory will be examined.

            If you specify a directory, the directory is entered
            and the contents is shown also without ALL option. If
            you use wildcards in the name the directory is listed
            normally, but you may add /#? to show its contents.

ALL       - xadList only examines one directory level by default. With ALL,
            it goes as deep as possible.

NOEXTERN  - prohibits the use of external clients for
            recognition purposes.

ONLYKNOWN - Shows only the known archives.

Example:

	Shell> xadList HD0:C/#? HD0:Libs/
		Examines the contents of HD0:C and HD0:Libs.

	Shell> xadList DF0:#?/#?.#? ALL
		Examines any drawer deeper than level one
		on DF0: for filenames ending with an extension