x404.co.uk http://www.x404.co.uk/forum/ |
|
Comparing the content of 2 Hard Drives http://www.x404.co.uk/forum/viewtopic.php?f=4&t=772 |
Page 1 of 1 |
Author: | snowyweston [ Sat May 23, 2009 2:12 pm ] |
Post subject: | Comparing the content of 2 Hard Drives |
As per the title really, is there any kind of utility (built into windows 2K or downloadable free) to look at the contents of two drives to see what files have/haven't copied over from one to another? I ask because I'm currently copying (rather than moving) the contents of my 500GB storage volume to a new 1TB drive and windows occasionally is reporting file names to long to copy (!? - I do employ quite a silly-long filename system for my music) - which cuts short the copying as far as it got - but since the error doesn't report which file is ther problem I have no way of knowing which album the track didn't copy over to. ![]() Any help would be most appreciated. ![]() |
Author: | JJW009 [ Sat May 23, 2009 4:24 pm ] |
Post subject: | Re: Comparing the content of 2 Hard Drives |
XCOPY C:\music\*.* Z:\music\ /L /E /D >filelist.txt where C:\music is your source and Z:\music is the destination. For the whole drive, just do C:\*.* that does not actually copy anything. It just makes a list of what would be copied if you hadn't put the /L xcopy /? for more options |
Author: | Fogmeister [ Sat May 23, 2009 9:21 pm ] | |||||||||
Post subject: | Re: Comparing the content of 2 Hard Drives | |||||||||
Hmm... If they are supposed to be exact like for like copies then you could use a batch file. Something like...
That will go through all of the files in you originating drive (C:) and look for the same file in the destination drive (Z:) and if it can't find the latter it will put the file name of the former into a text file called "Files not copied.txt" on your C drive. I'm sure there are probably better ways with software etc... but that's the quickest way I can think of off the top of my head. You can change the C:\ to be C:\music\ and it will search all files in that folder and subfolders. Incidentally, the long files names are caused by having files in lots of subfolders and then renaming the higher up folders. Only way round it is to find the files and then rename one of the parent directories until the entire file path is shorter than 255(?) characters. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |