TREECMP.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH TREECMP 1
- .SH NAME
- treecmp - recursively list differences in two directory trees
- .SH SYNOPSIS
- fBtreecmpfR [fB-cvfR] fIolddir newdirfR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-c" "(changes) list the names of changed or new files"
- .FL "-v" "(verbose) list all directories processed"
- .SH EXAMPLES
- .EX "treecmp -v /usr/ast/V1 /usr/ast/V2" "Compare two trees"
- .SH DESCRIPTION
- .PP
- fITreecmpfR 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 fB-cfR flag is given, only files that are changed from the old
- version or are new (i.e., absent in the old version) are listed.