Comparing folder contents in XP

Locked
User avatar
GONNAFISTYA
Posts: 13369
Joined: Sun Jan 23, 2005 8:20 pm

Comparing folder contents in XP

Post by GONNAFISTYA »

I'm making backups of my data before my mobo swap and it seems my backup folder is one file short of the original folder.

Is there a program I can use that would compare the differences of the two folders and highlight them so I don't have to do too much hunting for one file out of 95,000?
bork[e]
Posts: 4357
Joined: Tue Mar 23, 2004 8:00 am

Re: Comparing folder contents in XP

Post by bork[e] »

Never needed to use this, but found a pretty decent one here. Ran it once and it does what you are needing.

http://www.comparesuite.com/features/fo ... arison.htm
User avatar
GONNAFISTYA
Posts: 13369
Joined: Sun Jan 23, 2005 8:20 pm

Re: Comparing folder contents in XP

Post by GONNAFISTYA »

Cool. It found it. Thanks. :thumbsup:
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: Comparing folder contents in XP

Post by obsidian »

I've been using Beyond Compare for a number of years since I got it from work ($30 for a license).

But from what I've heard, WinMerge is an excellent comparable product that is Open Source and free.

BC will do a few things WinMerge won't, like you can create scripts to routinely check and update certain directories on a computer or network but depending on your uses, you can probably get away with WinMerge.
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Re: Comparing folder contents in XP

Post by MKJ »

you also couldve done a dirtree dump in dos and use something like editpad to do a diff :)
User avatar
GONNAFISTYA
Posts: 13369
Joined: Sun Jan 23, 2005 8:20 pm

Re: Comparing folder contents in XP

Post by GONNAFISTYA »

MKJ wrote:you also couldve done a dirtree dump in dos and use something like editpad to do a diff :)
Fuckin nerd.
User avatar
MKJ
Posts: 32582
Joined: Fri Nov 24, 2000 8:00 am

Re: Comparing folder contents in XP

Post by MKJ »

i knew you were going to say that.
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Re: Comparing folder contents in XP

Post by R00k »

Much easier to open a command prompt, and run an XCOPY to copy all files where the source file is newer than the target.
+JuggerNaut+
Posts: 22175
Joined: Sun Oct 14, 2001 7:00 am

Re: Comparing folder contents in XP

Post by +JuggerNaut+ »

COMMAND PROMPT!!?!?! THIS ISN'T *NIX BLASPHEMY
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Re: Comparing folder contents in XP

Post by R00k »

Pffft, as if *NIX invented command line operations. Windows cmd rocks!

In fact, I can run a full software inventory on every PC in my network (around 900 machines) using nothing but cmd scripts.

@echo %computername%,%date:~10%_%date:~4,2%_%date:~7,2%,%username%>>logfile.txt
+JuggerNaut+
Posts: 22175
Joined: Sun Oct 14, 2001 7:00 am

Re: Comparing folder contents in XP

Post by +JuggerNaut+ »

lol, i'd do the same, i love the cmd line, but a lot of people give distributions shit because you MAY have to use the command line once in a while, but you have to do the same in windows.
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Re: Comparing folder contents in XP

Post by R00k »

Yea, don't get me wrong, I enjoy having the option to do things through a UI, but even then I wind up using keyboard shortcuts most of the time.

It wasn't until I had to do a lot of scripting and coding that I started really using the command line heavily. Now I use it for everything I can. Most people don't realize the extra level of control it gives you in a lot of areas.

Even having a preference for that kind of thing, it still wasn't until the last couple of years that I realized how useful and flexible the Windows command line interpreter really is.

If you have command extensions enabled, and have PSTools and the Resource Kit, you can do virtually anything on a Windows machine.
+JuggerNaut+
Posts: 22175
Joined: Sun Oct 14, 2001 7:00 am

Re: Comparing folder contents in XP

Post by +JuggerNaut+ »

exactly. nothing more powerful than the command line and of course the nerdity of it all.
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Re: Comparing folder contents in XP

Post by R00k »

of course!

not to mention the boss has no idea what you're doing, making your job look so much more complex. lol
+JuggerNaut+
Posts: 22175
Joined: Sun Oct 14, 2001 7:00 am

Re: Comparing folder contents in XP

Post by +JuggerNaut+ »

rofl, very true. nothing to install.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Comparing folder contents in XP

Post by ^misantropia^ »

If you have a linux desktop around, do `(while true; do head -c96 /dev/urandom; sleep 0.25; done) | hexdump -C` to make it look like you are doing something really, really interesting. Run on multiple screens for extra effect. Someday, I'm going to write a Perl script that adds Matrix-like colors. :)
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Comparing folder contents in XP

Post by ^misantropia^ »

Code: Select all

(while true; do head -c96 /dev/urandom; sleep 0.1; done) | hexdump -C | perl -MTerm::ANSIColor -ne '($a,$b,$c) = /([0-9a-f]{8})(.+?)(\|.+)/; print color("bold white"), $a, (rand > .50 ? color("bold green") : color("bold red")), $b, (rand > 0.75 ? color("bold blue") : color("bold yellow")), $c, "\n";'
Nerdism stopped me from going to bed until I wrote it. :/
R00k
Posts: 15188
Joined: Mon Dec 18, 2000 8:00 am

Re: Comparing folder contents in XP

Post by R00k »

I don't have a *nix box lying around, so I have no idea what that does. =(
creep
Posts: 1007
Joined: Tue Dec 30, 2003 8:00 am

Re: Comparing folder contents in XP

Post by creep »

If you're using ubuntu 7, it blacks out the terminal with a cursor that blinks brown/blue.

:p
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: Comparing folder contents in XP

Post by ^misantropia^ »

Some day, I'll get to the program exit / cleanup part. :$
+JuggerNaut+
Posts: 22175
Joined: Sun Oct 14, 2001 7:00 am

Re: Comparing folder contents in XP

Post by +JuggerNaut+ »

lol n1 mis
Locked