Coder Social home page Coder Social logo

ultrafastduplicatefilesfinder's Introduction

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).







ultrafastduplicatefilesfinder's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.