Sun Management Center Change Manager 1.0.1 Administration Guide

- Previous: Maintaining the Change Manager Repository by Using the Command-Line Interface (Task Map)
- Next: How to Rename a File or Folder (Command Line)

## How to Create a Folder (Command Line)

Note –

The top of the Set Up Files section hierarchy is a folder.

1. Determine where to create the folder.

   For example, create a folder in the `web-server` folder.

2. Create and name the folder.

       $ changemgr mkdir [ -u username ] [ -p file ] reldirpath ...

   `-u` username

     Specifies the user name to authenticate. If this option is not specified, the user is the current UNIX user.

   `-p` file

     file consists of a single line, which contains the password. If file is `-`, then the user can supply the password as standard input.

     If the `-p` option is not supplied, then the `changemgr` command prompts the user for his password.

   reldirpath

     Specifies the path to a folder that is relative to the top of the Change Manager repository.

   Choose a meaningful name that indicates the types of files the folder contains. For example, create a folder named `apache` in which to store objects related to the Apache web server.

### Example—Creating a Folder

Suzi creates the `apache` folder in the `web-server` folder.

    $ changemgr mkdir -p .pfile /web-server/apache

- Previous: Maintaining the Change Manager Repository by Using the Command-Line Interface (Task Map)
- Next: How to Rename a File or Folder (Command Line)

- © 2010, Oracle Corporation and/or its affiliates