TheLostWanderer

Crosse-References Files and Deletes Duplicates

Published on

Available here.

This script will take two director as arguments. The input directory will be scanned. Every file present in both directories will be deleted from the output directory.

Example:

>>> python3 crossRefFilesDeleteDuplicates.py -i ~/dir1 -o ./dir2

I had the idea of this script because I had around 200 extra pictures in one folder that were duplicates. It was faster to write the script, debug and publish it than actually do the task manually. ^^