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

learn more… | top users | synonyms

3
votes
3answers
929 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 ...
4
votes
4answers
755 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 "diff"...
38
votes
6answers
29k 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 ...
6
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 ...
16
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 ...
0
votes
1answer
161 views

Have you used DiffVue? It is a diff utility but I don't know much about it

When I search download.com, I found this diffvue software, and it sounds quite promising with cheap price. But its size is huge comparing to other software. I tested only a basic things and I like ...
2
votes
3answers
5k views

How can I get diff to show only added and deleted lines

How can I get the unix command diff show only added and deleted lines? If diff can't do it, what tool can?
5
votes
4answers
9k views

Windows command line binary diff tools

Is there a Windows command-line diff tool that is free? I need to compare two binary files and see if they are different or not. I'm not interested in how they are different I just need to know if ...
7
votes
4answers
1k views

svn diff including annotate/blame-alike information of when changes were made by who

Can you add annotate/blame-alike information to svn diff, so that for every changed line it includes which user and revision changed that line? For example, an annotate-diff comparing revisions 8-10 ...
13
votes
10answers
28k views

What program to use to compare big files under Windows?

I'd like to compare two files under Windows, each about 1Gb in size. I tried Total Commander and WinMerge and both ended with Out of memory error. I'm running Vista Home Premium 64bit with 8GB of RAM ...
2
votes
3answers
2k views

tool to display patch file

What tools exist to display patch files? A text editor is usually good enough. ColorDiff can add color. Ideally though the tool would also show intra-line differences like KDiff3.
17
votes
3answers
10k views

How to Use WinMerge as the Diff tool for Mercurial

I'm using the Mercurial distributed version control system, and I'm wondering how I can configure it to use WinMerge instead of its own internal diff tool. I've already got WinMerge as the merge tool,...
4
votes
6answers
10k views

Difftool for Ubuntu like OS X's Opendiff [closed]

What is the best difftool for Git repos like OS X's Opendiff?
3
votes
4answers
4k views

Mac OS X diff tool for Microsoft Word docs?

I am using svn for version control and want to be able to compare 2 revisions of a MS Word doc side-by-side. I am aware of Araxis Merge but this converts the doc to text and compares which is more ...
5
votes
4answers
1k views

Tools for diffing two pages / files in a browser

I want to be able to diff the source of two pages, or even plain text files that are open in two browser windows. The only thing I can find is the PageDiff plugin for Firefox, but is there anything ...
21
votes
6answers
16k views

Alternative for WinMerge in Ubuntu

I need to compare/diff/merge files in an easy way. In windows I would use WinMerge. What alternatives for this are available in Ubuntu? The things I must be able to do: See 2 files line by line ...