Comparing two different versions of a directory with text files of any kind has never been easier.
Detects deleted files, new files, files with changed name but same content and of course a side-by-side / line-by-line comparison of changed files. Number of context-lines is configurable. Here's, how to call it:

>python DirDiff.py dir1 dir2 output.html
or
>python.exe DirDiff.py -l 3 -v olddir newdir dirdiff.html

-l is the number of context lines in the side-by-side comparison.
-v lists all files, that exist in both directories and have the same content.

Both directory names need to end with the "/" (Linux) or "\" (Windows).

Features

  • Directory compare

Project Samples

Project Activity

See All Activity >

License

Python License (CNRI Python License)

Follow DirDiff

DirDiff Web Site

Other Useful Business Software
Stop vibe-debugging. Icon
Stop vibe-debugging.

Plug Claude into your app's actual errors.

AppSignal's MCP server hands Claude, Cursor, or Zed your real errors, traces, and the deploy that shipped them. AI writes the fix; you review the diff.
Free 30 days.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of DirDiff!

Additional Project Details

Intended Audience

Non-Profit Organizations

User Interface

Command-line, Console/Terminal, Web-based

Programming Language

Python

Related Categories

Python Documentation Software, Python Source Code Analysis Tool, Python Code Review Software

Registered

2016-08-24