imgdup2go

command module
v1.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2018 License: MIT Imports: 20 Imported by: 0

README

imgdup2go

Another (small) command line visual image duplicate finder

Usage of ./imgdup2go:
  -dryrun
    	only print found matches
  -path string
    	the path to search the images (default ".")
  -sensitivity int
    	the sensitivity treshold (the lower, the better the match (can be negative))
  -undo
    	restore removed duplicates

Upon running imgdup2go will create a duplicates directory where it will put the found duplicate files with an informative prefix, eg:

7563e__GONE__image1.jpg
7563e__KEPT__image92.jpg
f469b__GONE__image16.jpg
f469b__KEPT__image19.jpg

The initial hash pairs the files together, the KEPT files were copied from the initial directory while the GONE files were moved.

After inspecting the pairs, if you agree with what the tool found as duplicates you can just remove the duplicates folder; otherwise, move the specific GONE files back into the original directory, removing the prefix. To undo everything you can use the -undo flag.

To find more loosely similar images you can increase the sensitivity, to make it even stricter you can go negative. Enjoy!

Install

You can find binaries here.

From source:

go get -u -v https://github.com/rif/imgdup2go

Credits

The heavy lifting is done by the duplo library.

A python version can be found here

WARNING

This tool moves and deletes files. Please make a backup of your image collection before using it!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL