The InputFile is a new-line separated ASCII text file. For each option to be specified in the InputFile, type the option letter, then a space, then the option arguments. Do not type a dash (-) before the option letters.
In the following example, an InputFile named commdirmig.input.txt specifies the Directory Server login ID and a file containing the password of the Directory Server user, the Directory Server host name and port number, and the OSI root and DC root:
D "cn=Directory Manager" w /opt/SUNWcomm/passwd X ldaphost p 389 b "o=isp" r "o=internet"
If you use this option, you do not have to type all the options in the command line when you run the utility. Also, you can edit and reuse the InputFile, which makes it easier to run the utility multiple times. For example, you can do the following:
Run the utility once to migrate a test directory and later to migrate the production directory.
Migrate several domains, one at a time.
Before you reuse the file, alter the -d or -f option to point to the domains or the directory you intend to migrate.
Migrate to Schema 2, compatibility mode, and later to Schema 2, native mode. Before you perform the second migration, alter the -t option to specify the correct target Schema version and mode.
commdirmig -i /home/user/commdirmig.input.txt