Unix/Linux Go Back    

OpenSolaris 2009.06 - man page for dircmp (opensolaris section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

dircmp(1)				  User Commands 				dircmp(1)

       dircmp - directory comparison

       dircmp [-ds] [-w n] dir1 dir2

       The  dircmp  command  examines  dir1  and dir2 and generates various tabulated information
       about the contents of the directories. Listings of files that are unique to each directory
       are  generated  for  all the options. If no option is entered, a list is output indicating
       whether the file names common to both directories have the same contents.

       The following options are supported:

       -d      Compares the contents of files with the same name in both directories and output a
	       list  telling  what must be changed in the two files to bring them into agreement.
	       The list format is described in diff(1).

       -s      Suppresses messages about identical files.

       -w n    Changes the width of the output line to n characters. The default width is  72.

       The following operands are supported:

       dir1    A path name of a directory to be compared.

       See largefile(5) for the description of the behavior of	dircmp	when  encountering  files
       greater than or equal to 2 Gbyte ( 2^31 bytes).

       See  environ(5)	for  descriptions  of the following environment variables that affect the
       execution of dircmp: LC_COLLATE, LC_CTYPE, LC_MESSAGES, and NLSPATH.

       The following exit values are returned:

       0     Successful completion.

       >0    An error occurred. (Differences in directory contents are not considered errors.)

       See attributes(5) for descriptions of the following attributes:

       |      ATTRIBUTE TYPE	     |	    ATTRIBUTE VALUE	   |
       |Availability		     |SUNWesu			   |

       cmp(1), diff(1), attributes(5), environ(5), largefile(5)

SunOS 5.11				    1 Feb 1995					dircmp(1)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 08:14 AM.