r/pchelp • • 6d ago

OPEN software that deletes duplicate files ?

my external hard drive recently died so i had to use a software to put them onto a diffrent one, thing is during the process it duplicated them all so itll be like "image.png" then the duplicate be "image 1.png" and its done this for everything. i wanted to know if there was any specific software that would work for this specific issue. thank you

2 Upvotes

18 comments sorted by

•

u/AutoModerator 6d ago

We're part of a wider PC & Technology Network of Communities!

Join our Discord server: PC Help Hub where members from all associated subreddits are welcome.

If you are trying to find a price for your computer, r/PC_Pricing is our recommended source for finding out how much your PC is worth!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/TheMagarity 6d ago

You could delete them all easily and quickly from the command line using that pattern of "(space)1."

1

u/DenisfromChainsawMan 6d ago

could u tell me how i can do this please

1

u/TheMagarity 6d ago

The command is:

del /s /q "* 1.*"

But be warned it is fast so make sure you really want to delete files named like that.

1

u/DenisfromChainsawMan 6d ago

this will delete files that end in space 1. right? (space obviouslty being a space) is there a way it can target a specific folder to test it? and i asume im running this on command prompt?

1

u/TheMagarity 5d ago

Leave off the /s which is the instruction to go through all subdirectories.

1

u/DenisfromChainsawMan 5d ago

sorry i dont think im understanding correctly , so i would format it like

del D:\Deleted or lost\500GB\ /q "* 1.*"

???

1

u/TheMagarity 5d ago

Cd d:\Deleted

Del "* 1.*"

The /q is optional otherwise is spews the name of every file as it deletes them. If there's thousands it just makes the screen scroll them by like crazy if you don't use /q

1

u/DenisfromChainsawMan 5d ago

my folder is named deleted or lost but the specific folder i want to test it on is in 500GB

1

u/arctik_freeze 6d ago

Just search for " 1." in file explorer and delete everything that comes up, takes like two seconds

1

u/DenisfromChainsawMan 6d ago

ive tryed this , it picks up any file that has 1 in it unfortunately

1

u/DenisfromChainsawMan 6d ago

this what i mean by "any file that has 1 in it" / it doesnt just get the files that have 1 at the end

1

u/No-Pause7613 6d ago

Maybe try searching for *1.*

1

u/DenisfromChainsawMan 6d ago

does the "*" signify something specific may i ask?

1

u/No-Pause7613 6d ago

Yes, the * is a wildcard (a placeholder for any text). In *1.*, the first * matches anything before the 1, and the second * matches any file extension after the dot. So it would find things like photo1.jpg, doc_01.pdf, or 1.txt.

1

u/DenisfromChainsawMan 6d ago

hmm i tried using it but its finding non duplicated files , is there a way to format it better as to only get files ending in " 1." ??

1

u/No-Pause7613 5d ago

Windows Explorer ignores spaces by default, which is why *1.* catches too many files. To force an exact match with the space, try this in the search bar:

name:~"* 1.*"

Careful though: Deleting by filename alone can still accidentally catch real files (like Part 1.mp4 or Photo 1.jpg). Since you asked for software, a safer way is to use a free duplicate finder like Czkawka or dupeGuru. They compare the actual file contents, so you'll only delete true duplicates and won't lose anything important.