Questions tagged [diff]
diff is a shell command to find differences between two files. It is common on all *nix based systems
28
questions
15
votes
5
answers
16k
views
compare two directory trees
I have two music libraries, one a newer version than the other. I would like to compare them to figure which files I need to copy from new music tree to old.
I have tried diff --brief -r /...
14
votes
1
answer
10k
views
How do you get Eclipse's built-in diff tool to ignore differences in whitespace?
I'm working on a large codebase that's been touched by many hands. As I work through bugs, I've been converting the source to be more readable which involves a lot of minor changes in indentation ...
9
votes
3
answers
4k
views
View incremental diffs of my revisions to files using Dropbox
Sometimes I use a simple editor like Notepad++ to edit my webpages on Dropbox.
Notepad++, not being an über-editor or IDE, does not track file changes for me.
But Dropbox does!!
Has anybody ...
8
votes
3
answers
12k
views
diff for multiple files
I use "diff -y" command to compare 2 results of different versions of my program line by line. Like this:
1 1
123 | 234
asdf | qerq
Is there analog for multiple files, which will allow to ...
6
votes
4
answers
14k
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 ...
5
votes
2
answers
378
views
is there a Diff tool for dropbox for Mac?
Is there a dropbox diff tool/app for Mac?
So what I mean here in an app that highlights visually the difference between versions in a text file you have on dropbox. It would typically have two ...
3
votes
2
answers
6k
views
Diff and ignore lines missing in one file
I want to diff two files and ignore lines that are present in one file but missing in the other.
For example
File1:
foo
bar
baz
bat
File2:
foo
ball
bat
I'm currently running the following diff ...
3
votes
4
answers
8k
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?
2
votes
2
answers
7k
views
Use diff to find difference in the output of two grep command
Is it possible to diff the output of two grep commands?
I am currently searching for files, using different exclude patterns, and the output it pretty long, so i wanted to see if my new pattern ...
2
votes
1
answer
1k
views
Complete file system diff
I have a program which I need to install on top of Windows 8. Trouble is, the program makes changes to a few files which makes another program not work, chances are that registry settings are involved,...
0
votes
2
answers
2k
views
How do I recursively diff two directores and ignore the first n lines of each file
This question is similar to How to diff only the first line of two files?, but recursively. I would like to diff two directories but:
diff only the first N lines of each file in the two directories
...
0
votes
1
answer
279
views
Three way binary comparison for savegame hacking
Basically, I'm trying to compare a bunch of savegames to find where some values are stored.
First of all, it's a rogue-like interpreted in WinGlulxe. I'm dealing with almost 100% binary save files ...
0
votes
2
answers
3k
views
diff ignoring eol and whitespace
I would like to diff two files, such that end of lines and white space be ignored. Namely, I would like diff to find no difference between d1.txt and d2.txt:
$ cat d1.txt ...