how to compare if two directories have same data or not in bash code example Example: directory diff diff -qr dir1/ dir2/