Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Making a directory into a qtree or a qtree into a directory

Making a rooted directory into a qtree  Top

A rooted directory is a directory at the root of a volume. If you have a rooted directory that you want to make into a qtree, you must do it through your client application, Windows or UNIX. Whichever client application you use, you perform this task by following a four-step process:

Following are procedures showing how to complete this process on Windows clients and on UNIX clients.

Note
These procedures are not supported in the Windows command-line interface or DOS prompt.

Making a rooted directory into a qtree through a Windows client  Top

To make a rooted directory into a qtree by using a Windows client, complete the following steps.

Step

Action

1

Open Windows Explorer.

2

Click on the folder representation of the directory you want to change.

3

From the File menu, select Rename to give this directory a different name.

4

On the filer, use the qtree create command to create a new qtree with the original name.

5

In Windows Explorer, open the renamed folder and select the files inside it.

6

Drag these files into the folder representation of the new qtree.

Note
The more subfolders contained in a folder that you are moving across qtrees, the longer the move operation for that folder will take.

7

From the File menu, select Delete to delete the renamed, now-empty directory folder.

Making a rooted directory into a qtree through a UNIX client  Top

To make a rooted directory into a qtree through a UNIX client, complete the following steps.

Step

Action

1

Open a UNIX window.

2

Use the mv command to rename the directory.

Example


 
client: mv /n/joel/vol1/dir1 /n/joel/vol1/olddir
3

From the filer, use the qtree create command to create a qtree with the original name.

Example


 
filer: qtree create /n/joel/vol1/dir1
4

From the client, use the mv command to move the contents of the old directory into the qtree.

Example


 
client: mv /n/joel/vol1/olddir/* /n/joel/vol1/dir1

Note
The more subdirectories contained in a directory that you are moving across qtrees, the longer move operation for that directory will take.

5

Use the rm command to delete the old, now-empty directory.

Example


 
client: rm -rf /n/joel/vol1/olddir

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments