Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using a mac, and just transferred a bunch o photos from another computer, and as it turns out, there is a bunch of duplicates...

So... I'm not too familiar with the mac terminal, but if there is a solution for linux, it will probably work for the mac.

Just need to be able to recursively scan all folders in my Pictures folder and then Delete them.

thanks

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Two methods:

Using commercial software

Try "Find Duplicate Files", it's free for 7 days.

Araxis Find Duplicate Files helps you to find, view and manage files that have duplicate content, regardless of name. It can be especially useful if you have large Pictures, Downloads or Documents folders.

Using fdupes

There's a handy tool called fdupes which finds duplicate files and allows you to delete them.

Install Homebrew using the guides on the homepage. It should work if you type:

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Homebrew is a package manager that can install some of the most important Unix tools, including fdupes. After you have installed Homebrew, just type:

brew install fdupes

And after that, you will be able to scan your directory with:

fdupes -rd your-folder

This will prompt you whenever duplicates are found and ask you to delete or preserve them.

share|improve this answer
    
Thanks.. using fdupes worked like a charm! =) –  NullVoxPopuli Mar 1 '11 at 19:25
    
Great! Homebrew has some other nice packages. If you ever look for Linux/Unix tools that OS X doesn't have, use brew search xyz :) –  slhck Mar 1 '11 at 19:42

protected by Community Dec 24 '12 at 6:47

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.