0.12.0 • Published 29 days ago

duplicate-file-finder v0.12.0

Weekly downloads
10
License
ISC
Repository
github
Last release
29 days ago

Duplicate File Finder

Finds duplicate files across given directories without hashing.

Table of Contents

Install

https://www.npmjs.com/package/duplicate-file-finder
npm install duplicate-file-finder

Usage

const { findDuplicates } = require('duplicate-file-finder');
const sourcePath = 'photos'; // defaults to current directory.
const searchPaths = ['more-photos', 'even-more-photos']; // defaults to empty.
const duplicates = findDuplicates({ sourcePath, searchPaths }).then(duplicates => {
    // do something with duplicates.
});

duplicates is a data structure like:

[
    [
        'photos/family.jpg',
        'more-photos/copy-of-family.jpg',
        'even-more-photos/another-copy-of-family.jpg'
    ],
    [
        'photos/pets.jpg',
        'more-photos/copy-of-pets.jpg'
    ]
]

Architecture

Can't see the diagram? View it on GitHub
graph TD;
    effects-->strategies;
    effects-->lib;
    effects-->io;
    commands-->strategies;
    commands-->effects;
    commands-->lib;
0.12.0

29 days ago

0.11.0

8 months ago

0.10.0

9 months ago

0.9.0

11 months ago

0.8.0

12 months ago

0.7.0

12 months ago

0.5.0

2 years ago

0.6.0

1 year ago

0.2.10

2 years ago

0.3.0

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.9

2 years ago

0.2.8

2 years ago

0.4.0

2 years ago

0.2.5

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.4

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.9

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago