consider a list of files in a particular directory(LIST A)
58623208 Sep 14 20:08 blbn_blfbe_drv
57904920 Sep 14 19:54 blbn_cycmn
55814208 Sep 14 06:02 clsa_Upd
38912000 Sep 14 19:12 cs_chgpp
and in another directory (LIST B)
58623208 Sep 14 20:08 blbn_blfbe_drv
57904920 Sep 14 19:54 blbn_cycmn
55814208 Sep 14 06:02 clsa_Upd
38912000 Sep 14 19:12 cs_chgpp
41107456 Sep 14 19:17 csmRFbe
39403520 Sep 14 19:09 csmUAddAct
39235584 Sep 14 19:20 csmUAddSub
where list A is a subset of list B
Now I want to search for files the files which are present in LIST A in LIST B
and compare each attribute(size,month,date,time,name) and print out the filename which
is not found in LIST B or if any attribute(size,month,date,time,name) is mismatching.
or
Display any message like all the files are found and all atributes are matching only if
all the files are found in LIST B and all its attributes are matching.
I donno what would be nice way to do this(may be i need awk to do this, ro some while loop)
Please suggest.