compare contents of two folders linux command line code example Example: directory diff diff -qr dir1/ dir2/