You are here: Available Utilities > L > LBYSYNC > Examples > Synchronizing Using the /CRIT Parameter

Synchronizing Using the /CRIT Parameter

In the example below, resources in the library named MASTER.LBY are synchronized to the library named PROD.LBY.

The synchronization criteria is supplied using the /CRIT parameter. This tells the utility to copy resources from the MASTER.LBY source library that have a mode of DEV, a status of PASSED, and are in any class, into the PROD.LBY target library.

As the resources are copied into the PROD.LBY library, the utility assigns a new mode of PROD. The status and class do not change. Each resource in the source library that is successfully promoted is assigned a new status of PROMOTED.

E:\fap\dll>lbysync /fromlby=c:\fap\mstrres\rpex1\deflib\master.lby /tolby=c:\fap\mstrres\rpex1\deflib\prod.lby /crit=;DEV;PASSED;*;PROD;*;*;*;PROMOTED;*;

 

--- DocuCorp LBYSync Utility Program (C) ---

--- Synchronize Library ---

 

Synchronization performed. The following number of objects were

added to the target library.

 

SOURCE LIBRARY: c:\fap\mstrres\rpex1\deflib\master.lby

TARGET LIBRARY: c:\fap\mstrres\rpex1\deflib\prod.lby

 

FAPs : 1

DDTs : 1

LOGOs: 0

DALs : 0

Total: 2