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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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