72 lines
1.3 KiB
HTML
72 lines
1.3 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>treecmp(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>treecmp(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
treecmp - recursively list differences in two directory trees
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>treecmp</STRONG> [<STRONG>-cv</STRONG>] <EM>olddir</EM> <EM>newdir</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>OPTIONS</H2><PRE>
|
|
|
|
<STRONG>-c</STRONG> (changes) list the names of changed or new files
|
|
|
|
<STRONG>-v</STRONG> (verbose) list all directories processed
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>treecmp</STRONG> <STRONG>-v</STRONG> <STRONG>/usr/ast/V1</STRONG> <STRONG>/usr/ast/V2</STRONG>
|
|
# Compare two trees
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Treecmp</EM> recursively descends the directory tree of its second argument
|
|
and compares all files to those at the corresponding position in the
|
|
first argument. If the two trees are identical, i.e., all the
|
|
corresponding directories and files are the same, there is no output.
|
|
Otherwise, a list of files missing from one of the trees or present in
|
|
both but whose contents are not identical in both are printed. When the
|
|
<STRONG>-c</STRONG> flag is given, only files that are changed from the old version or are
|
|
new (i.e., absent in the old version) are listed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|