kolombet / 11_duplicates

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Anti-Duplicator

This script searches directory default in current working directory and find file duplicates in it Two files are considered duplicate, if they have same name and same size. Content may be different.

You can specify input directory with parameter -p or --path

Quickstart

Example of script launch on Linux, Python 3.5:

$ python3 duplicates.py -p dupe-test
Found coincidence between files:
dupe-test/1.txt
dupe-test/inside/1.txt
dupe-test/inside/deeper/deepest/1.txt
Found coincidence between files:
dupe-test/2.txt
dupe-test/inside/deeper/deepest/2.txt

Project Goals

The code is written for educational purposes. Training course for web-developers - DEVMAN.org

About


Languages

Language:Python 100.0%