Questions tagged [filecompare]

52 questions
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
  • 10,378
  • 28
  • 89
  • 130
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
vote
0 answers

How to compare stdin with a file in Windows batch?

I want to write a auto code judge on Windows. Now I need to compare the output of test program with correct output. I know I need to use "fc", but I don't know how to write a command like that in Unix: ./hello.out < 1.in | diff - 1.out in…
Lizhi Liu
  • 97
  • 9
1
vote
2 answers

Test if the lines in file1 are a subset of the lines in file2

I have tried searching for an answer online but unfortunately without success. Therefore I am asking here: I am trying to figure out if all lines in file1 are present in file2. Luckily I can just compare entire lines rather than individual words…
Ali
  • 41
  • 4
1
vote
1 answer

Verify if the uploading file is as same as the downloaded file

In java is there a way to verify if the user uploading file is as same as the one he just downloaded (other than by using the file name). For an example, if the user is given a certain template to download and fill, and then upload the same, How can…
Sandun Chathuranga
  • 2,242
  • 2
  • 13
  • 27
1
vote
1 answer

Compare two text files and find the difference

How to get the lines of text in a txt file, if I compare 2 text files. I have 2 test files. mba.txt and mbanew.txt mba.txt Pre-Validation/SalesandServiceinvoicing,SalesandServiceinvoicing …
samolpp2
  • 139
  • 1
  • 13
1
vote
1 answer

How to compare two file structures in PHP?

I have a function which gives me the complete file structure upto n-level, function getDirectory($path = '.', $ignore = '') { $dirTree = array (); $dirTreeTemp = array (); $ignore[] = '.'; $ignore[] = '..'; $dh =…
OM The Eternity
  • 15,694
  • 44
  • 120
  • 182
1
vote
2 answers

How to distinguish data from CSV files

I have two csv files, and both have same data structure. ID - Join_date - Last_Login I want to compare and get the exactly matching records numbers based on this example: the first files has 100 records, of which 20 are not included in the 2nd…
sevoug
  • 169
  • 1
  • 1
  • 13
0
votes
3 answers

Implement recursive hashing algorithm

let's say file A has the bytes: 2 5 8 0 33 90 1 3 200 201 23 12 55 and I have a simple hashing algorithm where I store the sum of the last three consecutive bytes so: 2 5 8 - = 8+5+2 = 15 0 33 90 - = 90+33+0 = 123 1 3 200 - =…
Tono Nam
  • 34,064
  • 78
  • 298
  • 470
0
votes
3 answers

Free/OpenSource .NET Diff generator?

I'm looking for a free library that can take two strings and produce a diff much like the diff's you see on edit revisions here on SO. I'm hoping one exists, as this is a trivial part of an app I'm working on and I'd hate to waste time reinventing…
FlySwat
  • 172,459
  • 74
  • 246
  • 311
0
votes
0 answers

Ignore the word that has been replaced into specific words when comparing the folder / file

I am using WinMerge to compare my Java source code because it is quite handy (comparing multiple folders and sub-folders, specifying the file extension you want to compare,...). However, I want to ignore (return is identical or not hightlight) with…
0
votes
1 answer

VBA Function to test if two binary (PDF) files are identical?

I am looking for a performant and simple function that I can use in a VBA application that will simply return true or false, depending on whether the files are identical (except for their name.) If sample.pdf is copied to sample_CopyOf.pdf,…
Valarenti
  • 177
  • 1
  • 2
  • 13
0
votes
1 answer

How Can I compare the microsoft word file with it previous version programatically? need the output like git compare of file

I want to compare the word file with it previous version in sharepoint online. either by power automate or by programatically. I used encodian connector and able to compare however it is paid tool so need open source solution. for same. need the…
Ramesh
  • 101
  • 5
0
votes
2 answers

compare files with same name in 2 folders and check their size to delete the bigger one in Python

Hello i'm cleaning up my computer, so i found myself feeding a huge list of files to Handbrake for compressing them. After the compression, some files have a size which is bigger than the original. I want to clean up that, so i tried to make a small…
rita1989
  • 39
  • 7
0
votes
0 answers

Powershell: move directory structure - if file exists compare the file modification date-time and append date-time to the name of the older file

I need to move a whole directory structure over an existent directory structure which can be probably 90% similar. The files needed to be moved might have identical name correspondents in the directory target. It would be needed to be made a…
fptstl
  • 1