difftree



NAME

      difftree - list files that differ in two directory trees


SYNOPSIS

      difftree [-a] [-nt] [-s] [-w n ] dir1 dir2


DESCRIPTION

      The command difftree compares the files in two directory trees, dir1
      and dir2. Files are listed in blocks of unique files in dir1, unique
      files in dir2, modified files and if option -a is specified, also
      unmodified files. If option -s is specified, files are listed on
      format "dir2/file_name state". Value on state is New, Modified,
      Unmodified or Obsolete.
      Internally, the command dircmp is used. The option -w n is only used
      with dircmp.

    PARAMETERS
      dir1 Directory specification.

      dir2 Directory specification.

    OPTIONS
      -a   List all files, ie also unmodified files.

      -nt  Do not list files in the tree.

      -s   List files on format "dir2/file state", where state is New,
           Modified, Unmodified or Obsolete.

      -w n Output width n characters used as option in dircmp.


WARNINGS

      In dircmp, files are listed in two columns. To avoid truncation of
      long directory/file names, use the option -w n.


EXAMPLES

      difftree /ipa/products/ex_prod/2.1-0 /ipa/products/ex_prod/2.2-0


SEE ALSO

      dircmp(1)


AUTHOR

      E Antonsson