NXKnowledge

Content Migration Manager > User's Guide (CMM 1899 Series, Jan 2020) > Part VII: Appendices > B. Batch migration

Migrate data using the command line

To migrate data using the command line migration tool, perform the following steps: 1. From the My Teamcenter workspace area, select the items to migrate from the hierarchical tree. You can select the following:

  • Teamcenter item
  • Item revision
  • Dataset to migrate You can choose multiple non-related items to migrate.

From the migration menu, select Save Selection for Batch to save the items to an XML file. Choose the type of save. The selection file(s) is saved by default to the user's My Documents folder. 3. A login file is also created where the selection file is saved (default is in the My Documents folder). The file is named __login.xml. Open the file for edit and add your Teamcenter login password at the line . You should change the security settings for this file since it contains your password. 4. From the migration menu, select any required options. 5. Open up a command prompt window and navigate to the CMM Install directory. Enter the following command to start migration. Enter it all on one line as one command. The parameters can be placed in any order. (cmmBatch | nxmBatch) -mode migrate -datatype -selection -login [-options ] [-runindir ] If the login file and selection file are not in the same directory as the cmmBatch.cmd file, add the applicable path(s) to the command. The Migration Status dialog box is displayed. You can perform a pre-scan with the scan parameter. This performs a pre-migration scan to collect data on the item before actually migrating. Batch migration

Appendix B: Batch migration (cmmBatch | nxmBatch) -mode scan -datatype -selection -login [-options ] [-runindir ]

  • For the SourceCADSystem, enter “i” for I-deas, p for Pro/ENGINEER, c for CATIA V4, c5 for CATIA V5, or s for SolidWorks.
  • The SelectionFile is the file saved in step 2.
  • The LoginFile is the file saved in step 3.
  • The Optionfile is the file saved in step 4. If you don’t enter a file, the default options will be used.
  • The RunInDir is the directory for storing all files generated by the migration. This overrides the CMM Scratch and Report directories in the Options File.

During migration the migration process displays the name and location of the migration log file. The location is specified in the migration options (Application, Migration controls, Report Location). 7. Click the 100% displayed in the Migration Status dialog box to view the report for an item.

Source: CMM 1921 download (Support Center PL20201112075217794, CMM1921.7z), NXMigration/Documentation/cmm_1921.pdf, page 229 · retrieved 2026-10-02