A simple little python script that finds duplicate file names (without the extension) across multiple directories (and recursively if set) and gives the user the option to delete them.
I used this as an opportunity to begin learning python. It was created for a very very specific scenario and might not be too useful to anyone else.
(There are probably better ways to run this, but i'm a python noob)
- Navigate to the folder you downloaded the git project to
cd \development\git\Phodupe\
- Install the python script
python .\setup.py install
- Might need to run
pip install setuptools
beforehand
- Might need to run
- Run the script by passing a source directory and any number of "delete" directories
- Deletes dupes from OG Phone Walls and 2Delete:
python phodupe "C:\Users\NYPD\Desktop\OG Phone Walls" "C:\Users\NYPD\Desktop\2Delete"
- Deletes dupes from OG Phone Walls, 2Delete , and AlsoDelete:
python phodupe "C:\Users\NYPD\Desktop\OG Phone Walls" "C:\Users\NYPD\Desktop\2Delete" "C:\Users\NYPD\Desktop\AlsoDelete"
- Deletes from netowrk Drives:
python phodupe "//TrueNas/HGST 4TB/Pictures/Phone Walls/OG Phone Walls/" "//TrueNas/HGST 4TB/Pictures/Phone Walls/Post-Ratio/20x9/" "//TrueNas/HGST 4TB/Pictures/Phone Walls/2DELETE/"
- Deletes dupes from OG Phone Walls and 2Delete: