Smkdir

From SRB

Contents

NAME

Smkdir - creates a new SRB collection

SYNOPSIS

Smkdir [-N] [-c container] collection

Smkdir -p [-N] collection

DESCRIPTION

Smkdir creates a new SRB collection.

collection is of the format [path_name/]new_collection_name, where an absolute path can be given, or a relative path name with respect to th e current working directory, or just the new_collection_name in which case the current working directory will be used. With -p option, the intermediate collections will be created if they dont exist.

When creating the collection, the call also associates the new collection with a parent collection's container (if one exists). Using the -N option overrides this default.

The -c option can be used to associate a container with the collection being made. The specified container must already exist. If the command

is executed successfully, all subsequent files put underneath this collection will be automatically put in the container.


OPTIONS

-h
display command options
-N
overrides automatic inheritance of container from parent collection.
-c
container associate a container with the collection being made.
-p
creates any ancestral collection that are missing.

SEE ALSO

Spwd, Scd, Sls, Srmdir