Questions tagged [filecompare]

52 questions
0
votes
1 answer

Compare by NAME only, and not by NAME + EXTENSION using existing code; Python 3.x

The python 3.x code (listed below) does a great job of comparing files from two different directories (Input_1 and Input_2) and finding the files that match (are the same between the two directories). Is there a way I can alter the existing code…
markm0311
  • 15
  • 5
0
votes
0 answers

Comparing two pipe-delimited files, row by row, wherein rows are not in order in another file, using Python

I have two text files with a huge number of records, the records are pipe-delimited. I need to compare both the text files for similarity in data on both files. Say, File1 and File2 should have the same records. However, even though they have the…
0
votes
0 answers

Can anyone explain the output of FC?

I am comparing two CSV files but have a hard time understanding what it's trying to tell me. Comparing files Dollar.csv and NODOLLAR.CSV ***** Dollar.csv : 5 9 ***** NODOLLAR.CSV : 3 3 This is the output, can anyone explain what it means?
0
votes
1 answer

Compare filename only for files 2 folder using FC

i know the to compare files in 2 folder in window can use command fc [path A]* [path B]* but if i want to compare filename only, what parameter i need to add or any other command in windows cmd prompt?
G.C
  • 121
  • 1
  • 1
  • 4
0
votes
1 answer

Compare data from one worksheet to another workbook without opening it

Can anyone help me out with this VBA Macros query? I want to compare a worksheet with another worksheet in a different workbook. However, I don't want to open that workbook when comparing. I just want to changes to be shown in the current worksheet…
0
votes
2 answers

Windows fc ignore output when no difference

I am using FC filename1 filename2 >> myLog.txt(where myLog.txt exists) command under Windows to compare two files. I use the command in a loop so I could compare many pairs of files. I want to ignore the output when FC outputs: Comparing files…
Zdravko Donev
  • 402
  • 5
  • 22
0
votes
2 answers

Comparing two files by the content in their lines in Scala

I have two files in .dimacs format, eg: c example_01.cnf p cnf 6 9 1 0 -2 1 0 -1 2 0 -5 1 0 -6 1 0 -3 2 0 -4 2 0 -3 -4 0 3 4 -2 0 and, c example_02.cnf p cnf 9 6 -7 2 0 7 -2 0 -8 3 0 8 -3 0 -9 4 0 9 -4 0 I want to compare file…
Avah
  • 227
  • 3
  • 13
0
votes
3 answers

Can we compare two JavaScript files using C#?

I have tried comparing two text files. If these contain the same data but there is a difference of even one space the result is showing as ‘different’. Can anyone tell me how to compare two JavaScript files using C#?
Hemant Kumar
  • 4,593
  • 9
  • 56
  • 95
0
votes
1 answer

compare rows in two files in unix shell script and merge without redundant data

There is one old report file residing on a drive. Everytime a new report is generated, it should be compared to the contents of this old file. If any new account row is reported in this new report file, it should be added to the old file, else…
Rimjhim
  • 11
  • 2
0
votes
1 answer

What is the best way to identify if MSI have been modified or not

In our organization, An automated script copies all MSI's from build location to a new folder inside a shared folder each time after a successful build. There are more than 150 projects. Problem I am facing is, even though only 20 projects have been…
0
votes
1 answer

Performance of File Hash algorithms

In my Perl application, I need compare two versions of a file and detect whether they have changed. I'm trying to choose between MD5 or SHA. This is not about security. This is about fastest way to compare files. I'm inclined towards MD5. However,…
0
votes
4 answers

How to compare two xml files in python in script?

I am new python. I have some predefined xml files. I have a script which generate new xml files. I want to write an automated script which compares xmls files and stores the name of differing xml file names in output file? Thanks in advance
Manu
  • 67
  • 2
  • 3
  • 8
0
votes
2 answers

Output difference of 2 txt files to a 3rd txt file

I'm trying to run a bat file that will compare 1 file to another and output the differences I've tried using gnu diff utilites, fc, and endless googleing to find a solution but I cant seem to figure it out File 1 C:\Books\Tolkien, J.R.R. - The…
Xanderu
  • 747
  • 1
  • 8
  • 30
0
votes
3 answers

How to compare two files in shell script?

Here is my scenario. I have two files which are having records with each record's 3-25 characters is an identifier. Based on this I need to compare both of them and update the old file with the new file data if their identifiers match. Identifiers…
ALN
0
votes
2 answers

C# Compare a URL file with a local file

**Hello guys,i'm new in C# and i don't know how to do the following code I need to make a code that verifies 30 files from the server (URL) and 30 files from the client(folder) and then compare them byte by byte,if the client(folder) files are…
Catalin Mihai
  • 107
  • 1
  • 1
  • 6