Sun Management Center Change Manager 1.0 Administration Guide

- Previous: How to Export Files to Another System (Command Line)
- Next: How to Delete Files and Folders (Command Line)

## How to Move Files and Folders to Another Folder (Command Line)

1. Determine which files and folders to move.

   For example, move the `web-server/host1.bmft` file and the `web-server/host2.bmft` file to the `web-server/ApacheServer` folder.

2. Move the files and folders to another folder in the Change Manager repository.

       $ changemgr filemove [ -u username ] [ -p file ] relfilepath ... \
       reldirpath

   relfilepath

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

   For descriptions of the other options, see How to Create a Folder (Command Line).

### Example-Moving Files and Folders to Another Folder

Suzi moves the `web-server/host1.bmft` file and the `web-server/host2.bmft` file to the `web-server/ApacheServer` folder.

    $ changemgr filemove /web-server/host1.bmft \
    /web-server/host2.bmft /web-server/ApacheServer

- Previous: How to Export Files to Another System (Command Line)
- Next: How to Delete Files and Folders (Command Line)

- © 2010, Oracle Corporation and/or its affiliates