Compare files and directories recursively using diff

Compare files in the two directories, and only report differences:

diff -q path-1/ path-2/

Compare files in the two directories and their sub-directories, only reporting differences:

diff -qr path-1/ path-2/

Follow @geek1968 on Instagram

Leave a Comment

Notify me of followup comments via e-mail. You can also subscribe without commenting.