Categories
Geeky

Compare two directories

Simplest way to compare the file content of two directories, is to use diff.

diff --recursive --brief /path/to/dir1 /path/to/dir2

Can’t remember the online source, I got this from.