Questions tagged [file-comparison]

File comparison is the act of comparing one file's properties with another's.

Use this tag for questions related to comparing the size, content, etc. of two or more files.

161 questions
-1
votes
1 answer

Compare two excel files and print the differences using Python?

I have 2 xlsx files and need to print the differences in each cell in the file. The code that I am using now is working but I need to ignore the first column in each of the xlsx files and I am not sure how to add that exception to the code I am…
-1
votes
2 answers

How to Fill the 'this' Context in Compressor Library in Android Studio

I am trying to write a code to compress an image using Compressor library: https://github.com/zetbaitsu/Compressor and use this line to do the compression: compressedImageFile = new Compressor(this).compressToFile(actualImageFile); However, when…
-1
votes
1 answer

Is the file read or remembered?

If I am copying a file and then comparing it back: import shutil, filecmp # dummy file names, they're not important InFile = "d:\\Some\\Path\\File.ext" CopyFile = "d:\\Some\\other\\Path\\File_Copy.ext" # copy the…
Michael Stimson
  • 314
  • 1
  • 4
  • 19
-1
votes
1 answer

Utility to compare two directories and give report & detect/delete duplicates

Utility to compare two directories & give total number of files it should show the duplicates and an option to delete those duplicates. I want to write a Java Utility that compare two directory and gives a report of the following the total number…
-2
votes
2 answers

How to compare two big unsorted CSV files using Spring Batch?

I have a task of comparing two big csv files and write out the comparison result to a new file. File 1 has 200k rows and file 2 could also have 200K or less than that. Both have 200 columns. The files are not sorted and can be in any order. I am…
-2
votes
2 answers

Comparing contents of txt files in Python

I am trying to write a program that will open files, read the contents and compare them to other files opened. I need to show if they are Not close enough alike, Similar, or exact copies of each other. I am trying to use the filecmp module, but it's…
John
  • 1
  • 1
-2
votes
2 answers

compare two files and get the positions in third file in linux

I need help with comparison of two files and get the positions in third file, both files will have the same fields but the order will be unsorted in 2nd file, third file will give the line number where the data is found. eg.…
user3754136
  • 509
  • 11
  • 25
-3
votes
0 answers

How does saving google docs changes work?

Can someone explain me how the saving of documents work in google docs when making small changes? By this I would like to know what kind of compression they could be using and comparisons between the last saved document and the new one, so that they…
-3
votes
1 answer

Compare json files

I have two json files. File1.json File2.json Using python, I want to compare both files and write differences in third file Output.json Output file should be easy to read.
Noman
  • 15
  • 6
-4
votes
3 answers

What is the best way to compare 2 large files based off of the first token in each line?

I have 2 large files (each about 500k lines or 85mb) containing the checksum of the file and the filepath itself. What is the best way to get the differences between the files based on the checksum? I can write a Java program, script, etc. but the…
hotcheetos
  • 29
  • 1
  • 6
-5
votes
1 answer

C#: Large File Compression

we have large files with the size ranging from 800 MB to 900 MB. Currently i am using SharpZipLib Library which takes more time to compress and has very less compression ratio. Please Suggest me some of the libraries which will support high…
sampat nayak
  • 123
  • 2
  • 12
1 2 3
10
11