kassoulet / ultrafastduplicatefilesfinder Goto Github PK
View Code? Open in Web Editor NEWTakes a list of file from stdin. And print the duplicate ones. Like fdupes on steroids.
Takes a list of file from stdin. And print the duplicate ones. Like fdupes on steroids.
Ultra Fast Duplicate Files Finder ================================= by Gautier Portet <kassoulet gmail com> Takes a list of file from stdin. And print the duplicate ones. example use: find ~/ -size +10M | ./UltraFastDuplicateFilesFinder.py to find duplicates in your home folder, all files more than 10MB. UltraFastDuplicateFilesFinder compares only the very beginning of the files. Its sufficient for most uses, but use with caution. But this way is quite useful to detect duplicates within corrupted media files... this is public domain. ------------------------------------------------------------------------------ example run, took less than a second to answer... gautier@quad:~/code/tmp$ find /home -size +10M | ./duplicate.py size filename 12467906 /home/gautier/Photos/pict4614.mov 12467906 /home/gautier/Photos/Videos/PICT4614.MOV 13068570 /home/gautier/Photos/pict4588.mov 13068570 /home/gautier/Photos/Videos/PICT4588.MOV [...] 20865498 /home/gautier/Photos/pict4695.mov 20865498 /home/gautier/Photos/Videos/PICT4695.MOV 28270824 /home/gautier/tmp/tsunami 1 œ ǒǑ.flac 28270824 /home/gautier/tmp/tsunami-1.flac 136 files checked (22.75 GiB), 8 duplicates (153.45 MiB).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.