osf1 man page for usync

Query: usync

OS: osf1

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

usync(8)						      System Manager's Manual							  usync(8)

NAME
usync - synchronize two setld inventory files to reflect current system status
SYNOPSIS
/usr/lbin/usync [-d] file1 file2
OPTIONS
Enables debugging. This will print the pairs of pathnames being synchronized on the standard output.
DESCRIPTION
The usync command is used to achieve inventory synchronization by merging two inventory files according to the pathname field of the inven- tory records. The result is directed to standard output. If the two inventory files contain records with the same pathname, the record in file2 is written and the record in file1 is ignored. If either inventory file contains a pathname not present in the other file, the record containing that pathname is written to standard output. To reflect the current system inventory, file2 should represent a later installation than file1.
RESTRICTIONS
The two inventory files must be sorted in ascending ASCII sequence on the pathname field.
ERRORS
usync: file is corrupt Explanation: Records in one of the inventory files are not sorted properly.
EXAMPLES
The following command produces a synchronized inventory for two versions of the OATDCB subset: /usr/lbin/usync OATDCB100.inv OATDCB120.inv
FILES
Subset inventory files
SEE ALSO
stl_inv(4) Programming Support Tools usync(8)
Related Man Pages
invcutter(1) - ultrix
newinv(1) - ultrix
stl_inv(4) - osf1
fitset(8) - osf1
invsync(8) - osf1
Similar Topics in the Unix Linux Community
Creating new file with new record length
AIX 4 and telnet
Compare two files with different number of records and output only the Extra records from file1
awk issue
File comaprsons for the Huge data files ( around 60G) - Need optimized and teh best way to do this