Questions tagged [filecompare]

47 questions
155
votes
6 answers

Tool for comparing 2 binary files in Windows

I need a tool to compare 2 binaries. The files are quite large. Some freeware or trial tools I found on the Internet are not convenient to use for large files. Can you recommend me some tools?
mustafa
  • 3,174
  • 7
  • 29
  • 52
15
votes
6 answers

Comparing folder structure in two environments

Are there any good tools for comparing two folder structures (files included) between two environments? i.e. comparing a dev computer with production Edit: A note on some lessons learned: dir /s /o:N >> output.txt works well in conjunction with a…
CodeMonkey1313
  • 14,477
  • 17
  • 71
  • 109
10
votes
1 answer

What exactly does a non-shallow filecmp.cmp do?

I'm using Python 2.6.2. The docs for the filecmp module say: The filecmp module defines functions to compare files and directories, with various optional time/correctness trade-offs. and, of the filecmp.cmp function: filecmp.cmp(f1, f2[,…
vanden
  • 351
  • 2
  • 11
7
votes
8 answers

How can I compare two files in golang?

With Python I can do the next: equals = filecmp.cmp(file_old, file_new) Is there any builtin function to do that in go language? I googled it but without success. I could use some hash function in hash/crc32 package, but that is more work that the…
rvillablanca
  • 1,355
  • 3
  • 15
  • 32
5
votes
5 answers

Tool for 3-Way Binary (Hex) File Comparison?

I have a set of binary configuration files with three versions each -- an original, and two differently-modified versions of each file. I need to be able to see the differences between the two versions as well as the original, all at the same…
Brian Lacy
  • 17,820
  • 9
  • 50
  • 73
4
votes
1 answer

Python: Compare two directories with different structure and list new files

I have a script that copies files from one folder structure to another folder with different structure. ex. Folder 1 c.txt d.txt subdir1 a.txt b.txt Script copies files/dirs from Folder 1 to Folder 2(Folder 2 has different…
user1495649
  • 53
  • 1
  • 3
3
votes
2 answers

How to match similar filenames and rename so that diff tools like Beyond Compare see them as a pair to perform a binary comparison?

I'm looking for the best approach to comparing files that I believe are identical but which have different filenames. Comparison tools like BeyondCompare are great but they don't yet handle different filenames - when comparing files in separate…
3
votes
1 answer

Compare GACs from two servers?

I need a easy and trusted way to compare GAC (Global Assembly Cache) from two servers, during BizTalk migration. I also want to move the GAC from QA to Production if it doesn't exist in the destination server. These are both BizTalk servers and have…
rizalp1
  • 5,706
  • 2
  • 15
  • 19
3
votes
5 answers

Eclipse (3.5) how to compare files horizontally?

Normally Eclipse 'File Compare' compares files in vertical panels like: Is there a way I can compare them horizontally like: Compare using Horizontal Panel http://www.sqlservertool.com/images/ad_hex_diff_small.gif Its too tiring to scroll everytime…
lud0h
  • 2,250
  • 6
  • 33
  • 40
2
votes
0 answers

How to open the eclipse compare editor with editing enabled programmatically?

I am trying to use eclipse compare editor(org.eclipse.compare) to compare two files. The compare editor opens and shows the differences. But any editing or merging is not enabled in the compare editor. First i am preparing the input and calling…
manohar_b
  • 21
  • 4
2
votes
2 answers

How to compare two files and print the values of both the files which are different

There are 2 files. I need to sort them first and then compare the 2 files and then the difference I need to print the value from File 1 and File…
2
votes
3 answers

detecting if two files are strictly identical, what to compare?

I'd like to know how to compare two files to determine if it is exactly the same one. I know how to compare filename, date of creation/modification and even hash if required. However I don't know how to compare meta data on the file (I actually…
Steve B
  • 34,941
  • 18
  • 92
  • 155
2
votes
4 answers

Compare 2 files NOT line by line in shell

I need to compare two files NOT line by line ,rule out common lines,then have an output with everything that is different using shell commands . Example: file 1: 5 124 346 12 65 8 78 file…
1
vote
6 answers

Decompiling java class files and comparing with svn

We have normal java files residing in the SVN. We have made some changes in those files , but it happens that , those files are lost (they are not in SVN). But we have the class files that are generated using the newly changed files. Can we use the…
Vinoth Kumar C M
  • 9,668
  • 27
  • 81
  • 125
1
vote
0 answers

Compare 2 CSV files in JMeter

Screen capture of Result tree Code keeps running in infinite loop , wheather the data matches or not. Also i want to ignore the first/header column when comparing. Can you please help with this. Thanks I am using below code to compare 2 csv…
1
2 3 4