Skip to content

Instantly share code, notes, and snippets.

@jcjveraa
jcjveraa / duplicates.py
Last active June 4, 2022 06:23 — forked from tfeldmann/duplicates.py
Fast duplicate file finder written in python
#!/usr/bin/env python
"""
Fast duplicate file finder.
Usage: duplicates.py [-hcf] <folder> [<folder>...]
Based on https://stackoverflow.com/a/36113168/300783
Modified for Python3 with some small code improvements.
Modified by jcjveraa to include option to hardlink any duplicate files
"""