Content-type: text/html Manpage of Sls

Sls

Section: User SRB Commands (1)
Updated: Jan 2003
Index Return to Main Contents
 

NAME

Sls - display objects and sub-collections in a SRB collection  

SYNOPSIS

Sls [-aChlVp] [-r|-f] [-A condition] [collection|srbObj ...]

Sls [-aChl] [-c condition]  

DESCRIPTION

Sls utility displays objects that match the input srbObj, or objects and sub-collections in collection. When invoked with no collection|srbObj operand, the current working SRB collection value is displayed.

The second synopsis applies the condition and displays the resultant list of objects.

When the operand collection does not begin with '/', '../' or '^/' the collection name used is with respect to the current working collection.

When the operand collection begins with '^/' the collection name used is with respect to the mdasCollectionHome value in the ~/.srb/.MdasEnv file.

When the operand collection begins with '../' the collection name used is with respect to the parent of current working collection.

When the operand collection begins with '/' the collection name used is that of the operand value.

When the operand collection contains wildcard characters *|? then collection must be surrounded by double quotes.

 

OPTIONS

-a
list metaData associated with each file and collection.
-C
list the access control list of each file and collection.
-r
display recursively for sub-collections of collection
-f
Force each argument to be interpreted as a collection.
-h
displays command options
-l
List in long format, giving owner, replica number, physical resource, size in bytes, time of creation and object name.
-p
List the resource and physical path of the data file.
-V
Verify the physical path assoicated with the data by doing a file stat on the physical path. Only works for UNIX type resource currently.
-A
condition option is an '&' separated condition which will be applied in choosing the object to be listed. The separated condition is of the form "<Attr> <CompOp> <Value>", where <Attr> is an MCAT attribute found by Sattrs command, <CompOp> is a comparison operator and <Value> is a numeric or string value. The entire condition should be within a set of double quotes. Example: Sls -A "COPY = 0"
-c
condition option applies to the whole SRB system instead of relative to the current working collection. Example: Sls -c "GUID='123'" will find all objects that have their Guid set to 123. See Sattrs for details of applicable conditions.

 

SEE ALSO

Spwd(1), Scd(1), SgetD(1), Sattrs(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:44:15 GMT, July 02, 2004