An open API service indexing awesome lists of open source software.

https://github.com/ionboleac/compare-two-files

Compare two file if they are different
https://github.com/ionboleac/compare-two-files

compare-files hash

Last synced: 3 months ago
JSON representation

Compare two file if they are different

Awesome Lists containing this project

README

        

# Compare two files
This repo contains a simple python script that compares two files and prints the differences between them.
There are some method to compare two files:
- line-by-line comparison
- hash-by-hash comparison
- byte-by-byte comparison
- csv-by-csv comparison

## How to use
```bash
python compare.py file1 file2
```

or

```bash
python compare.py file1 file2 --method line
```

or

```bash
python compare.py file1 file2 -h
```