Code Monkey home page Code Monkey logo

duplicates_py2's Introduction

Duplicates

The "Duplicates" is a tool for convenient duplicate files removal. "Duplicates" is just a wrapper over awesome duplicate search tool "https://github.com/michaelkrisper/duplicate-file-finder". So far this is the fastest and most reliable duplicate finder tool I've seen.

The primary problem is removing the duplicates from the specified directories only and keeping other folders intact (even if there are duplicates there too).

For example when getting a bunch of new photos removing the duplicates only from the new files, but never from the photos library.

The "Duplicates" removes files only in work directory (always keep one copy if all duplicates under work folder). The golden directory used to search for duplicates, however, no files deleted there.

Usage

Searches for duplicates in both folders but remove duplicated files from new_pics only. Nothing deleted in my_photos_library

duplicates --work new_pics --golden my_photos_library --purge

Remove duplicates under the folder (keep one copy only)

duplicates --work work  --purge    

Find and print duplicates only (sorted by file size - largest first). Delete nothing.

duplicates --work work 

Install

Get the source code, go to duplicates directory and run

git clone https://github.com/AlexeyMavrin/duplicates.git
cd duplicates
python setup.py install
python setup.py test

TODO

Allow multiple work directories at the same time

duplicates_py2's People

Stargazers

 avatar

Watchers

 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.