Compare the Permissions for all the scripts that exists in two Directories

view story

http://www.unix.com – Hello All, I am in the process of finding the permissions on all the files that exists in two directories: Dir1: PROD_Scripts/* Dir2: STAGE_Scripts/* Both the Directories have some shell and perl scripts respectively. Step1: Finding all the Scripts that exists in PROD but Not in STAGE. I found out Using diff Dir1 Dir2 and got 17 Scripts that exists in PROD but not in STAGE Step2: Find out all the Scripts where the Permissions doesn't match between Dir1 and Dir2. Could someone please help me out in doing step2 I really appreciate your time and effort!!! (HowTos)