diff is a shell command to find differences between two files. It is common on all *nix based systems

learn more… | top users | synonyms

5
votes
2answers
338 views

“diff” terabyte files

Are there any tools that allow to "diff" text files of terabyte size?
9
votes
1answer
6k views

How can I diff two network dumps from tcpdump or Wireshark?

I'm having a problem with one of our customers' embedded computers. They seem to discard some network packets which they should not. I can capture the TCP communication from a managed switch outside ...
8
votes
3answers
11k views

GUI tool for applying patch files for windows

There any number of good GUI diff-tools for windows (I use Araxis Merge, and kDiff3), but none of them (that I can find) will apply a patch file. I would expect it to work like this: I open a base ...
10
votes
3answers
2k views

How to ignore whitespace in Kaleidoscope (diff tool)?

In Kaleidoscope, how do I configure it to ignore whitespaces?
1
vote
0answers
352 views

How to diff two mails in outlook

I know a guy who is always re-sending me (rather long) emails with little changes. (i.e. a changed name or date) Is there an easy way (preferrably an addin in outlook) to visual diff (visual like ...
0
votes
1answer
76 views

Recommend a diff tool to show and explain some changes in a document [closed]

Now I'm in process of contract negotiation with a private company. They sending me the contract, I'm making some changes and then sending back to them for verification. Now they asking me to explain ...
0
votes
1answer
153 views

File comparison, one-to-many

I need a program that allows comparing one text file to many others without having to open each one manually. This is how it would work: 1) select the file which all others will be compare with 2) ...
3
votes
1answer
168 views

How to scroll the diff buffer easily in Emacs while point is on the minibuffer

In Emacs, after a lot of editing, I press C-x s (save-some-buffers), then Emacs asks "Save file ...? (y,n,.... d ...)" for each file, I sometimes answer d (diff) to see the changes, but then it's not ...
0
votes
1answer
103 views

Ungroup diff's output

I've got two files, and output of diff looks like this: 33428,33429c33428,33429 < lucid-security|main|icedtea-6-jre-cacao|6b20-1.9.2-0ubuntu1~10.04.1 < ...
8
votes
1answer
9k views

Can I use an replace internal diff in Total Commander with an external diff program?

Since I don't really like Total Commander's internal diff 'Compare Contents' used in Compare by content and Synchronize Dirs -> Compare left & right I want to use something else like Winmerge or ...
0
votes
1answer
151 views

svn diff software that simply downloads changesets

Does anyone know any simple software (preferably without installation) that allows to download changesets of specified revisions and save them as "changesetX.diff/.patch"? For some reason Windows ...
0
votes
1answer
239 views

Howto make a diff of a bios or backup/ restore all bios settings

I'm using an Dell M90 Precision Laptop which has a NVidia Quadro FX 2500M graphics card and is running Windows XP. Laptop has been running fine - but a few weeks ago screen went 'white' - restarted ...
16
votes
2answers
9k views

How to diff file names in two directories (without writing to intermediate files)?

I am trying to do something along the lines of: diff `ls -1a ./dir1` `ls -1a ./dir2` But that doesn't work for obvious reasons. Is there a better way of achieving this (in 1 line), than this? ls ...
4
votes
2answers
3k views

Use Meld instead of Kompare in KdeSVN

i tried using Meld as external diff in KdeSVN as meld -on - (settings>configure kdesvn>diff&merge) but Meld complains that the usage is wrong: meld: error: no such option: -o Finished Usage: ...
1
vote
2answers
213 views

diff unified output; supress @@ lines?

When using diff, is there a way to suppress the first two lines (listing the file names and times) and all the lines beginning with @@ in the output? All I want are the lines that show what to delete ...
2
votes
2answers
433 views

diff + print only string from the source file without extra information from the diff

When I perform diff between old to new files I get that DDDC string exsist in the old file by the sign "<" as the follwoing diff -w old new 103a104 > BBB 224c225 < DDDC But please advice ...
1
vote
2answers
460 views

Check if there are changes on file system (Ubuntu 10.10)

I have to get my PC to the service because sometimes the system hangs and suddendly reboots without any reason. Anyway, I will create a test user if they want to start the computer. Moreover I think ...
3
votes
1answer
516 views

Mercurial: How I can use external tool for diff?

I want to use kdiff3 as a tool for comparing different versions of a repository. Is there a way how one can do it?
11
votes
5answers
12k views

Is there any free *.diff file viewer? [closed]

Is there any free software that will run on Windows 7 to show syntax highlighting for *.diff files generated from comparing files? I don't want to compare files, just view the highlighted output from ...
2
votes
1answer
1k views

View Configuration File Changes With RPM or Yum

How do I view the changes made to package configuration files (installed using rpm/yum)? I created a FreeRadius server that does MAC Authentication, and I just want to get the lines that I have ...
5
votes
4answers
4k views

How to ignore moved lines in a diff

I am currently working on a source code generation tool. To make sure that my changes do no introduce any new bugs, a diff between the output of the program before and after my changes would ...
2
votes
5answers
3k views

Visual diff for multiple file pairs on Linux

I need a GUI program for Linux (Ubuntu Karmic) like tkdiff, which can display 2 files side-by-side, and highlight the differing lines, and it accepts multiple file pairs on the command line, but ...
18
votes
3answers
12k views

How to diff large files on Linux

I'm getting a diff: memory exhausted error when trying to diff two 27 GB files that are largely similar on a Linux box with CentOS 5 and 4 GB of RAM. This is a known problem, it seems. I would expect ...
7
votes
4answers
4k views

Similarity and/or Diff of two ODT documents (Linux)

I have two ODT documents, they have very close contents, I want to compare them to see how similar they are. The best would be to have a similarity percentage, if not possible, an alternative would ...
11
votes
2answers
1k views

Is there any way to find similar files (not duplicates)?

My final goal is refactoring code written by my coworkers. So, is there a tool which can find files differing in only few words? (Edit: this is for a Mac, but others might like non-Mac answers too.)
4
votes
5answers
10k views

How do you compare multiple folders with same files to find all different versions of the same file?

I've got 700+ folders with the same set of 200+ classic asp files (basically text files) in each folder. Over the years various people have made minor changes inside these asp files. I need an utility ...
1
vote
2answers
126 views

Diffing file contents

I have two plain text files, each file is containing a list of strings sorted alphabetically with one string per line. I want to diff the files and have an output of all strings that exist only in ...
21
votes
4answers
13k views

vimdiff: Jump to next difference inside line?

vimdiff is very handy for comparing files. However, I often use it on files with long lines and relatively few differences inside the lines. vimdiff will correctly highlight differences inside a line ...
4
votes
4answers
2k views

Tool for comparing a single line of text

Is there a tool for comparing two lines of text? All the tools I have compare on a line level, when I really need a character level diff in the line. Windows or *nix, GUI or command line, I don't ...
5
votes
1answer
2k views

Microsoft Word 2007 diff

Does Word 2007 come with diff functionality? If not, what's the easiest way of creating a patch file between two documents showing the changes I have made?
0
votes
1answer
190 views

Get changes to local config files with apt

When I'm updating a package and a new configuration file is shipped, I'm asked whether I want to keep my version, install the new one or view the differences. As I have to document an older server, ...
30
votes
4answers
37k views

How do I do a binary diff on two identically sized files under Linux?

I have two identically sized files, and I need to do a binary diff to check whether they're the same. I'm currently runnnig diff file1.img file2.img but it's taking quite a while to process my ...
19
votes
1answer
11k views

Listing lines from just one file in DIFF

I would like to get (GNU)DIFF to printout only lines that are different in one file. So given ==> diffa.txt <== line1 line2 - in a only line3 line4 changed line5 ...
58
votes
2answers
24k views

Ignore .svn when doing `diff -r`

diff has an option --recursive (-r) to do a comparison between two directories (the files inside them). Is there a way to make diff ignore certain sub-directories (eg: .svn)? $ diff -r src1/ src2/
11
votes
6answers
535 views

Line-length-tolerant XML diff

I've looked at the answers to this question, and unfortunately none of them has helped me so far. Not to beat about the bush, the second edition of C# in Depth is now in copy edit. I want to be able ...
3
votes
3answers
996 views

WYSIWYG editor for structured text (suitable for SVN versioning)

I'm looking for an open source cross platform WYSIWYG editor that I can use to write documentation. I'm not looking for a web based solution - i.e. it should work without a web server, and I want ...
145
votes
10answers
205k views

How do I compare binary files in Linux?

I need to compare two binary files and get the output in the form <fileoffset-hex> <file1-byte-hex> <file2-byte-hex> for every different byte. So if file1.bin is 00 90 00 11 in binary ...
5
votes
4answers
5k views

Checking whether binary files are the same? [duplicate]

Possible Duplicate: Binary Diff Tools On Windows What would be the easiest way of veryfying whether two binary files are the same, without actually opening them, checking versions and such ...
1
vote
3answers
2k views

Windows Explorer - Diff two files from the context menu?

Is there any way to diff two selected files from the context menu in Windows Explorer?
6
votes
4answers
1k views

Pass the output of ls to diff

I have one file that contains a list of files from a server, and a local folder that I compare to that manifest. Obviously, I do 'ls -1 > listing_local' and then diff that file with listing_server. ...
8
votes
2answers
5k views

interactive/visual merge tool for console?

I'm a big fan of meld - a visual diff and merge tool for Gnome. It shows two files (or directories) side by side with their differences highlighted and I can easily select which parts I want to move ...
1
vote
1answer
449 views

Tool to make a DIFF between HTML tables?

I am seeking a tool to make a DIFF between tables displayed in HTML tables - typically tables with identical layout, filled only with numbers, the numbers differing from on version to another. Raw ...
3
votes
3answers
882 views

Verifying successful file transfer after moving lots of large files

I'm working on transferring a lot of files (>100GB, several thousands of files) over my network to a new Mac. Once the transfers are done I'd like to be able to verify that all of the files were ...
3
votes
4answers
686 views

Why are there binary differences among compressed files generated exactly the same way from the exact same starting file?

I use the "diff" command to compare two compressed files generated using zip on the exact same starting file and they are reported as being different. However, when I uncompress them and use the ...
36
votes
6answers
25k views

How can I diff two XML files?

On Linux, how could I generate a diff between two XML files? Ideally, I would like to be able configure it to some things strict, or loosen some things, like whitespace, or attribute order. I'll ...
0
votes
4answers
2k views

What do these instructions mean in plain English?

I know it's for the linux program patch, but if I try to use it, I get the following error: missing header for unified diff at line 4 of patch malformed patch at line 5: quit Instead, I'd like to ...
7
votes
1answer
4k views

how can I tell vimdiff to ignore whitespace?

I made a number of changes in a file I'm working on, including indentation changes. I'm using vimdiff to compare the file to the original version, and I don't want to see these changes, since they're ...
5
votes
1answer
7k views

How can Powershell on Windows 7 diff two files?

Can Powershell on Windows 7 diff two files on the hard drive? Sometimes a text compare is helpful, but otherwise just telling whether a file is identical to another file is helpful. thanks. Update: ...
4
votes
7answers
2k views

Single line diff [closed]

Is there a diff tool I can run from the command line or maybe just an online webpage that will compare single lines? GitHub diffs do this, but I don't want to publish things to GitHub just to read the ...
15
votes
4answers
15k views

How to diff directories for different files, but not line-by-line

I want to see, recursively, files that are different in two directories. Diff can do this, but it shows me the line-by-line differences, which I don't want. Is there a tool that does this, or a way to ...