You are here: Available Utilities > L > LBRYMGR > Creating Response Files > Generating Extract Records

Generating Extract Records

You can use the LBRYMGR utility to create a response file that contains Extract records. You can then process this response file. The utility will extract the indicated resources from the library and copy them to the location you specified. To generate Extract records, use the /REC=X parameter.

Example 1 - Creating extract records for all resources

This example tells the LBRYMGR utility to create a response file named RESPONSE.RSP. It generates Extract records for all resources in the library. The response file contains the target path and file name for each resource that is extracted. The /ALL parameter tells the system to extract all resource types and to create target file names using the indicated directory.

C:\fap\dll>lbrymgrw /rsp=response.rsp /rec=x
/lby=.\deflib\master.lby /all=.\ext\

 

--- DocuCorp LBRYMGR Utility Program (C) ---

--- Library Manager Response File Utility ---

 

Successfully created response file <response.rsp>

Example 2 - Creating extract records for the latest version and revision

This example tells the LBRYMGR utility to create a response file named RESPONSE.RSP. It generates Extract records for the latest revision of the latest version of each FAP file in the library. The file name for each resource placed in the response file will be the short name instead of the long or versioned name, which is the default.

C:\fap\dll>lbrymgrw /rsp=response.rsp /rec=x
/lby=.\deflib\master.lby /fap=.\ext\ /r=l /ln=no /v=l

 

--- DocuCorp LBRYMGR Utility Program (C) ---

--- Library Manager Response File Utility ---

 

Successfully created response file <response.rsp>