Bash scripting to compare N number of files located in two directories

I want to compare "N" (around 2000+) number of huge files located in a directory A against "N" files located in a different directory using Bash scripting.

Please help me with any scripts available.

Thanks.

Compare how? Size, Name, Last edited...?

What have you worked out so far?

Thanks for the immediate response. Here are the details.

The File name would be the same in both the directories and both the files are expected to carry the same no of records with same value. My intention is just to reconcile both the files cell by cell and ofcourse write the difference if any to a new file.

File 1 in Directory A has some $value in 10 columns. The $value in this file is mixed - meaning some in scientific representation and some just whole numbers.

File 1 in Directory B has some $value in 10 columns. The $value in this file has all values upto 5 decimal places.

I intend to select the rows to compare by key identifiers. But I am just a beginner in Bash scripting and not sure of executing this.

Thanks.