The Daily Click ::. Forums ::. General Chat ::. Compare folders with each other
 

Post Reply  Post Oekaki 
 

Posted By Message

MasterM



Registered
  02/01/2002
Points
  701

I am an April Fool
10th November, 2008 at 09:17:43 -

Alright I’ve got two music folders. One on my old computer and one on my new computer. I’ve copied the OLD folder on an external hard drive and copied it on the hard drive of my NEW computer but it seems like I’ve updated that OLD folder afterwards so the NEW music folder on the new pc is lacking some albums/folders.

My question:

Is there a program that can compare to folders with each other and tells me which files are not included in folder A and which are not in included in folder B and which files they have in common?


 
Image

Joe.H

Evil Faker

Registered
  19/08/2002
Points
  3305
10th November, 2008 at 11:24:53 -

Make one yourself:

save a list of each folder/subfolder/file etc using the command line

Compare Folder A to B:

Load each text file into a list object.

Loop number of lines in A (assuming A is bigger than B)
If An =/= Bn then:
Put An in a new list object
remove An from A, start check again
(n is the current line)

Then of course you'd do the same for B (where if B is not in A, put it in a list object)

Alternate method is to remove everything in A AND B, and leave anything that's in A but not B, and vice versa, where if something doesnt match, just move the line down 1 and carry on.


 
My signature is never too big!!!

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
10th November, 2008 at 11:35:31 -

im guessing the music is a very large quantity and you want to save time by only copying the folders of music missing.

unless you can make a program like joe here is suggesting, i doubt you'll find a program in the ammount of time it would take to just copy all the music again. copy it and go do something while it copies.

if you have vista i think you can opt to just ignore copying any folders/files that already exist in the destination directory and subsequent directories.

Image Edited by the Author.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click