FG
💻 Software

How to remove duplicated files in a directory?

Fresh5 days ago
Mar 15, 202650776 views
Confidence Score0%
0%

Problem

I downloaded a lot of images in a directory. Downloader renamed files which already exist. I also renamed some of the files manually. How to remove duplicated ones? The result should be: note: name doesn't matter. I just want uniq files.

Error Output

a.jpg
b.jpg
b(2).jpg
hello.jpg      <-- manually renamed `b(3).jpg`
c.jpg
c(2).jpg
world.jpg      <-- manually renamed `d.jpg`
d(2).jpg
d(3).jpg

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to remove duplicated files in a directory?

Low Risk

fdupes is the tool of your choice. To find all duplicate files (by content, not by name) in the current directory: To manually confirm deletion of duplicated files: To automatically delete all copies but the first of each duplicated file (be warned,…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment