P
P
pixik2016-09-28 14:36:25
linux
pixik, 2016-09-28 14:36:25

How to compare recursively 2 folders in Linux excluding files by pattern?

Good time!
With the help diff -r -u folder1 folder2I compare 2 folders. But there are some files that should be in folders, but they can be very different and therefore the output from diff is very cluttered. Are there any ways to diff folders except for files *.txt, *.log, *.d, *.o etc?
Thank you all =)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Adamos, 2016-09-28
@pixik

If the command line is not required, then Meld seems to be tailor-made for your task.
Well, diff also has the --exclude key (aka -x). RTFM.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question