Enterprise Administration > Windchill Export and Import > PTC Windchill PLM Connector - Creo Packages Administrator's and User's Guide > Windchill PLM Connector – Creo Packages > Exporting Packages > Exporting a Package > Using the Command Line Utility > WPCExport_synch Commands > WPCExport_synch Command Example
  
WPCExport_synch Command Example
 
WPCExport_synch.bat -user %user_name% -password %user_password%
-package d:\cwp\packages\test_synch.wpc -overwrite -baseline
WPC_exported* -comment “test comment for synchronization package”
-output d:\cwp\packages\reports
If -F is specified, full synchronization package is generated.
The example is as follows:
1. Create a part on system A
2. Export part on system A and import into system B. System A: wpcexport -u (user name) -p (password) -n (part name) -g (package name).System B: wpcimport -u (user name) -p (password) -g (package name).
3. Create ownership transfer package on system A and import into system B. System A: wpcexport -u (user name) -p (password) -n (part name) -g (ownership transfer package name) -O .
(UID of target)
System B: wpcimport -g (ownership transfer package name) –m . - u (user name) -p (password) –y (Ownership Transfer+Acknowledgement name).
4. System A: wpcimport -u (user name) -p (password) -g (package1 name). Now the ownership is with systemB.
To create full sync package use below command:
Source: wpcexport_synch -u (user name) -p (password) -g (package name) -n (part name) –F
Target: wpcimport -u (user name) -p (password) -g (package1 name)