Script is analyzing the directory and revert all duplicated files in it.
Duplicated means - at least two files with the same name and size.
- Python 3.5;
$ python duplicates.py <directory> # possibly requires call of python3 executive instead of just python
Hello, below files which at least duplicated:
---------------------------------------------
aza.txt
/Users/ivan/3.Hackerrank/aza.txt
/Users/ivan/3.Hackerrank/folder/aza.txt
test.txt
/Users/ivan/3.Hackerrank/test.txt
/Users/ivan/3.Hackerrank/folder/test.txt
The same with Windows environment;
The code is written for educational purposes. Training course for web-developers - DEVMAN.org