My favorites | Sign in
Project Logo
                
Search
for
Updated Jan 19, 2008 by urzenia
compare_py  
recursively compares two directories, doing diffs with files, printing deleted or added files/categories etc.

compare.py [options] old_directory new_directory

  • -i|--ignore ignore_path
  • Specify paths to have not been compared. Can be used multiply. Paths have to be relative to directories.
  • -d|--ign-dir ignored_dirname
  • Ignored dorectory name - this directory will be ignored in every subdirectory. For example:
    compare.py -d .svn old new
    will ignore all .svn directories.
  • -f|--ign-file ignore_filename
  • Like -d, but works with filenames.
  • -l|--log_dir log_dir
  • If given, compare.py will create directory log_dir with orginal structure of directories (old|new)_directory, and diff files for every changed file.
  • -s|--suffix suffix
  • Suffix added to every diff file create with -l option. Default to '.diff'.
  • -v|--version
  • Program version.
  • -h|--help
  • Help message.
  • old_directory
  • Directory with original files.
  • new_directory
  • Directory with changed files.

Sign in to add a comment
Hosted by Google Code