Linux: Compare two files displaying differences

PHOTO EMBED

Mon Aug 29 2022 14:25:49 GMT+0000 (UTC)

Saved by @marcopinero #bash

diff -r dir1 dir2 | grep dir1 | awk '{print $4}' > difference1.txt; clear; cat difference1.txt
content_copyCOPY

Command for comparing two directories and list files with differences on dir2 and files not present on dir2