Skip to main content

Questions tagged [diff]

diff - Command-line tool to display the differences between two files, or each corresponding file in two directories.

0 votes
1 answer
35 views

I have a directory shared between 2 machines (ServA and ServB), they sync this directory to 2 other machines (respectively ClientC and ClientD) using lsyncd (=inotify+rsync+ssh). The configs are very ...
dargaud's user avatar
  • 659
-1 votes
1 answer
127 views

I am struggling with understanding how diff and patch are supposed to work. Here's my use case: I use Betterfox user.js config file for my Firefox profile, but I add some overrides to it. I want to ...
Nikita Karamov's user avatar
2 votes
1 answer
408 views

I'm looking for a command that compares binary files. Of course, I know about diff, but it is not very good at binaries. I have two files from a error-prone source (scratched dvd) which should be ...
Gyro Gearloose's user avatar
0 votes
0 answers
95 views

I've experienced total system freeze while checking if files where copied correctly by diff -rq [INTERNAL HDD] [USB HDD] This happened twice, always while running the diff. On the second occasion I ...
Marek Schwarz's user avatar
1 vote
0 answers
87 views

I've asked the question on SO before, but maybe it is better placed here. I'm running on Ubuntu 24.04.1 LTS (X11) and have p4merge installed in version p4v-2024.3.2656785. I'm using p4merge since ...
morecore's user avatar
  • 111
0 votes
1 answer
128 views

I am trying to hack the Linux kernel and added/modified some header files in include/linux. However, when I generate patch file using diff like: diff -uprN -X linux/Documentation/dontdiff \ ...
Kalman's user avatar
  • 3
0 votes
1 answer
559 views

I have two Docker images, each with many layers. I want to compare all the files in teh first image to all the files in the second one, to see what's been changed. I tried taring up the images using ...
Greg Dougherty's user avatar
0 votes
2 answers
147 views

Let's say that in a script, you have a directory $1 and its copy $2 and you'd like to compare the metadata (names, permissions, sizes, full modification dates, …) of the files and directories inside ...
AlMa1r's user avatar
  • 1
0 votes
0 answers
309 views

According to this process substitution can be used to do a SIMPLE diff between local and remote machine. However, I want to use the -qr option in the diff command, i.e., it must be recursive and brief ...
Ajned's user avatar
  • 111
0 votes
1 answer
176 views

I'm trying to synchronize two hard drives. I thought most people who don't want to lose any data and don't use RAID would use such a method so that there would be a well-working GUI. That doesn't seem ...
mYnDstrEAm's user avatar
  • 5,012
0 votes
1 answer
74 views

I would like to check when a file differ inside a backup system using snapshots. I have several folders with the same architecture inside ls -1 .snapshot 4-hourly.2024-04-14_0405 4-hourly.2024-04-...
ppr's user avatar
  • 2,019
0 votes
1 answer
100 views

I am doing diff -rq to check the difference between 2 folders (A and B). I don't want to know if folder A has any new files because that's expected. How do I ensure that this information doesn't come ...
desert_ranger's user avatar
0 votes
1 answer
126 views

I have configured git diff to be a command that calls substitute diff for viewing file differences i.e /usr/bin/vim -dR "$2" "$3" and that doesn't work when I want to create a ...
vfclists's user avatar
  • 7,939
0 votes
1 answer
178 views

Referring to this https://stackoverflow.com/a/31356602, I wrote this code: #!/bin/bash # Define the two strings to compare string1="First string with some random text." string2="Second ...
Gabriele's user avatar
  • 353
0 votes
2 answers
429 views

Is there a way/tool to show differences between two files side by side only highlighting differences in a similar way kdiff3 does that but with a tool that is reasonably fast?A similar question was ...
atapaka's user avatar
  • 685

15 30 50 per page
1
2 3 4 5
37