Home
Name Modified Size InfoDownloads / Week
CHANGELOG.txt 2014-05-27 2.0 kB
dupehasher-0.2.0-pre-Alpha.sh 2014-05-27 11.3 kB
dupehasher-0.0.9-pre-Alpha.sh 2014-03-21 7.9 kB
README.txt 2014-03-20 1.9 kB
dupehasher-0.0.4-pre-Alpha.sh 2014-03-20 4.6 kB
LICENSE.txt 2014-03-20 18.1 kB
Totals: 6 Items   45.8 kB 0
Program:

  dupehasher

Creator:	

  Andrew L. Pernick ( alpernick@gmail.com )

Purpose.

  To report and, optionally, delete duplicate image files in a given directory, with the ability to rename all remaining (and thus unique) files either sequentially (chronologically-increasing with earliest CTIME first), by md5sum, or by sha256sum.  Unless the program is set to report only, without deletions (and thus without renaming), dupehasher will also attempt to fix file extensions so that if a file's extension is .jpg, but it is really a png, dupehasher will rename the file, regardless of renaming schema, so that its extension changes from .jpg to .png

Current Status:	dupehasher-0.0.5-pre-Alpha.sh

Usage:

   -h or --help                 Print this message.
   -r                           Create a report with the names of the duplicate files, then exit.
   -D                           Deletes all duplicates.
   -c                           Deletes all duplicates, and renames all files in the directory in chronological order.
   -m                           Deletes all duplicates, and renames all files according to their md5 sum.
   -s                           Deletes all duplicates, and renames all files according to their sha256 sum.

Examples:

    dupehasher -r ~/images
    Finds all duplicate files in '~/images' and saves each set of duplicates on its own line, in a log file named '~/dupereport.txt'

    dupehasher -D ~/images
    Same as above, but also deletes all but the oldest of each set of duplicates.

    dupehasher -c ~/images
    Generates report, deletes duplicates, and renames all remaining files in chronological order (except dupereport.txt)

    dupehasher -m ~/images
    Same as above, except renames according to md5sum.

    dupehasher -s ~/images
    Same as above, except renames according to sha256sum.


Last Update:

  20 March 2014
Source: README.txt, updated 2014-03-20