You are not logged in.

#1 2009-08-21 01:04:18

OneEyedPimp
Member
Registered: 2008-05-02
Posts: 103

[solved]Merge folders that are _nothing_ alike

Hello All,

I have a couple of folders that between all of them have about 60GB worth of Music. Anyway, there is this one folder that is super organized, it has everything organized by name in folders. And then I have about 5 other folders. I want to merge these all into one, but delete any duplicates. I am trying to use Meld, and CLI with diff, but that only check the top level.

For example I have file x.mp3 in an unorganized folder. I also have x.mp3 in the organized folder but it is in Oraganized/Album/...../x.mp3. Is there any way to check for this type of situation? Over and over again?

Last edited by OneEyedPimp (2009-08-21 03:09:33)

Offline

#2 2009-08-21 01:41:42

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: [solved]Merge folders that are _nothing_ alike

A quick search for "find duplicate files" turns up loads of pages. I haven't used it, but several of those hits refer to "fdupes" which seems to be able to remove duplicates. It's in [community], so you can grab it with "pacman -S fdupes".

If that can't do what you want, try some of the other solutions found by the previous search.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2009-08-21 02:31:05

OneEyedPimp
Member
Registered: 2008-05-02
Posts: 103

Re: [solved]Merge folders that are _nothing_ alike

D'oh, I didnt even think of it that way. I will have to give that a try, I will post back if it worked.

Thanks Xyne!

P.S. You rock!

EDIT: yeah that worked like a charm. Only shaved about a Gig, but at least now I know I dont have any copies. Thanks again!

Last edited by OneEyedPimp (2009-08-21 03:09:21)

Offline

Board footer

Powered by FluxBB