LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-02-2009, 12:26 PM   #1
LQ Newbie
Registered: Nov 2009
Posts: 21

Rep: Reputation: 0
Merging folders

Hi friends.

I'm looking for an application that can do this:

I have several bakups and I "merged" them to a large hdd with dirsync pro flawlessly ( a fantastic software).
But I noticed that I have several folders and files repeated within subfolders. For example.

In the main folder I have:

backups/folder"A"/file 1..n


backups/folder"A"/folder"b"/folder"A" (again and almost all its files)


backups/folder"N"/folder"Nb"/folder"A" (again and almost all its files)

And this happens several times. I thing 2/3 of my backups are repeated folders.

So I'd like to find all folders with the same name and merge them into a single "folder "A".."N".

If this is not possible is there a way to find all documents,and put them into a folder, all mp3 into another folders etc??

Clone removers wont works as they hang due to the amount of files..

Thanks for your Advice!!

Im using ubuntu 9.1 and
Old 12-02-2009, 01:00 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 269Reputation: 269Reputation: 269
You could probably use fdupes, find, and some bash scripting to troll through the directories and create one complete backup set. You could probably even do it by filetype.
Old 12-06-2009, 07:05 PM   #3
LQ Newbie
Registered: Nov 2009
Posts: 21

Original Poster
Rep: Reputation: 0

Thanks for the fdupes advice.
I started searching a lot better and I foud this:

I solved my problem with this program. It did the job fast and accurately.

Hope this helps someone else.


folders, merge

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script to create folders including making recursive folders.... linux-bandit Linux - Software 8 11-28-2009 01:50 AM
find -exec command to recursively delete files and folders in folders with X name Joan Murt Linux - Newbie 2 07-08-2009 04:35 PM
Merging a one string to various others Juan Pablo Programming 4 07-09-2008 10:31 PM
change permissions of all folders and sub folders cad Linux - General 3 01-28-2007 10:21 AM
Samba can create new files and folders but access denied in any new folders k.king Linux - Networking 2 01-15-2006 06:14 AM

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration