--copy --project
Copies a Project.
Syntax
--copy --project [argument, argument, ...]
Arguments
--slib=name
The source Library file name.
--tlib=name
The target Library file name. If omitted, the target Library will be the same as the source Library.
--pid=id
The ID of the Project to copy.
--name=name
The name for the new Project. If omitted, the name will be the same as the name of the source Project.
--tfid
The target Folder ID. Optional.
--targetroot
Copies the Project to the root of the Library. Optional.
--copychildren
Copies the Project's child Folders and Scenarios.
--flatten
Flattens Scenario dependencies. Only applies if combined with --copychildren
Remarks
If --tfid and --targetroot are omitted then:
- If the source and target Libraries are the same, the copy will be created in the same location as the original.
- If the source and target Libraries are different, the copy will be created in the root of the target Library.
Examples
Copy Project 123 in the Library my lib.ssim to a new Project called CopyName:
--copy --project --slib="my lib.ssim" --pid=123 --name=CopyName
Copy Project 123 from Library lib1.ssim to lib2.ssim and include all child Folders and Scenarios:
--copy --project --slib=lib1.ssim --tlib=lib2.ssim --pid=123 --copychildren