Skip to content

AnirudhKishan/DeleteVisuallyRedundant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Delete Visually Redundant

A Python script that deletes redundant visually-similar images.

For a list of visually similar images it finds, it first deletes all but the largest by file-size. If still multile files remain, it deletes all but the oldest by modified-on.

How to use

These are the accepted options:

Option Description
-p Mandatory. Path to the folder under which to recusively scan.
-r The script creates a 'dups.txt' file as an intermediate while processing. This file holds the list of visually-similar filenames. Giving -r prevents deleting this intermediate file after processing.
-d Dry run. Prints out the names of the files which would be deleted. Doesn't actually delete them.

Dependencies

  • findimagedupes

Gotchas

  • Supports jpg, png and gif files
    • The script can be trivially modified to support even more file types.

Tags

duplicate; image; remove; detect; find;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages