user1342 / SFC

Simple Folder Comparison

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ“ Simple Folder Comparison βš™οΈ

GitHub contributors GitHub Repo stars GitHub watchers GitHub last commit

Simple Folder Compare Tool

The Simple Folder Compare Tool is a command-line utility designed to compare the contents of two folders, identifying modifications, additions, and removals. It generates a detailed report listing the changes along with their paths.

βš™οΈ Usage

Requirements

The tool requires Python 3.x to be installed. Install the required dependencies using the following command:

pip install -r requirements.txt

Running the Tool

To compare two folders and generate a report, use the following command:

python compare.py source_folder target_folder -o output_report.txt

Replace source_folder and target_folder with the paths to the folders you want to compare. The -o option specifies the output file for the report.

πŸ“œ Output

The tool generates a plain text file (output_report.txt by default) listing modifications, additions, and removals along with their paths in a structured manner. For example:

Modified: Documentation\ABI\testing\sysfs-bus-iio
Modified: Documentation\ABI\testing\sysfs-devices-system-cpu
Modified: Documentation\DocBook\libata.tmpl
Modified: Documentation\devicetree\bindings\net\nfc\nxp-nci.txt
Modified: Documentation\devicetree\bindings\net\nfc\pn544.txt
Modified: Documentation\devicetree\bindings\sound\wm8994.txt
Modified: Documentation\filesystems\affs.txt
Added: Documentation\example.txt
Modified: Documentation\networking\ip-sysctl.txt
Modified: Documentation\networking\l2tp.txt
Modified: Documentation\kernel-parameters.txt
Modified: arch\alpha\include\asm\io.h
Modified: arch\arc\include\asm\elf.h
Modified: arch\arm\mach-tegra\tegra.c
Modified: arch\arm\mm\cache-l2x0.c
Modified: arch\arm\mm\proc-macros.S
Modified: arch\arm\plat-samsung\Kconfig
Modified: arch\arm\Kconfig
Modified: arch\arm64\boot\dts\xilinx\zynqmp.dtsi
Removed: arch\arm64\configs\taimen_defconfig

πŸ™ Contributions

Contributions to the Simple Folder Compare Tool are welcome. If you would like to contribute, please follow the guidelines provided in the CONTRIBUTING.md file.

  • Fork the repository to your own GitHub account.
  • Create a new branch with a descriptive name for your contribution.
  • Make your changes and test them thoroughly.
  • Submit a pull request to the main repository, including a detailed description of your changes and any relevant documentation.
  • Wait for feedback from the maintainers and address any comments or suggestions (if any).
  • Once your changes have been reviewed and approved, they will be merged into the main repository.

πŸ› Bug Reports and Feature Requests

If you encounter any bugs or have suggestions for new features, please open an issue in the GitHub repository.

πŸ“„ License

GNU General Public License v3.0

About

Simple Folder Comparison

License:GNU General Public License v3.0


Languages

Language:Python 100.0%