Is there are way to use utility like
diff to find the difference in metadata of two identical file hierarchies? If I have two identical file structures like
root_folder/ file1 file2 folder1/ file3
diff utility will usually exit as though they are identical but adding them to tarballs will produce different hashes. This indicates differences in metadata like timestamps, ownership, etc. but I would like to know what are the exact differences and the default behavior of
diff doesn't help me there.