dupehasher Icon



Shell script for managing duplicate image files in a directory.

Add a Review
0 Downloads (This Week)
Last Update:


dupehasher scans the given directory for files that are identical except by filename.
dupeshasher will generate a report plaintext file named 'dupelist.txt' in the working directory (which contains, per line, tab-delimited names of files whose contents are identical).

Depending upon the arguments supplied by the user upon invoking dupeshasher, it will also delete all duplicates, keeping either the oldest or newest of all sets of duplicates. Additionally it can batch-rename all remaining (post-deletion) files in a chronologically-sequential manner; or according to the md5sum or sha256 sum of every file.

File extensions (.jpg for example) are preserved, and there is a user option to ensure that the extension is correct (for example, a .jpg file is indeed a jpeg and not, for example, a png).

Finally, an interactive mode exists for users who are not comfortable with the command line.

dupehasher Web Site


  • Detect multiple copies of a file that are identical (based on md5sum)
  • Bulk-delete all but oldest copy for each set of identical files
  • Automatically fix file extension to match file type
  • Batch rename all files in directory sequentially
  • Batch rename all files in directory according to md5sum
  • Batch rename all files in directory according to sha256sum


Other Useful Business Software

Searching for Affordable Business Phone Service? Icon

If you're on the hunt for business phone service that is reliable and budget-friendly, Voice over Internet Protocol (VoIP) is your answer.

Searching for Affordable Business Phone Service? Icon
Today's small-to-medium-sized (SMB) businesses and large enterprises are saving on their monthly communications costs by making one simple decision: to switch to a VoIP service solution from their old, outdated Plain Old Telephone Service (POTS). By choosing a new VoIP service, these companies enjoy the flexibility, reliability, call features, and audio quality that only a VoIP service can provide. Plus, they cut their phone bill by up to 70%!
Write a Review

User Reviews

Be the first to post a review of dupehasher!

Additional Project Details

Intended Audience

Information Technology, Advanced End Users, System Administrators, End Users/Desktop, Other Audience

User Interface


Programming Language

Unix Shell



Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks