Content-type: text/html
Sbregister [-f infoFileName|- ] .br
The second synopsis reads data from a file or standard input which contains information for the files to be registered. If "-" is used after the -f option the file is read from standatard input.
The localFile and|or localDirectory can be a path name in the local file hierarchy but accessible by a SRB server throough resourceName. The user should have at least 'write' access permission for them. These inputs can have wildcards except "." and "..". If it is a directory, sub-directories will be recursively registered automatically as sub-collections.
The targetCollection is the target collection path under which the objects will be registered. The path can be relative or absolute. Also, special path name such as "." and ".." are valid.
If given, the object is stored in resourceName. Otherwise the object is stored in the default resource given by DEFRESOURCE in the user environment file, located in ~/.srb/.MdasEnv
The second synopsis requires the information file to be in the following format:
Line1:resourceName Line2:srbDataName|collectionName|dataSize|dataType|filePathName thru : : : : : : LineN:srbDataName|collectionName|dataSize|dataType|filePathName LastLine:<<END>>