Require help in creating a Sudo/Shell script

Hello Friends,

I have a scenario to create a script, I know many of you feel this as simple script.

I am not much familiar with unix scripting, please help me out.

Situation:-

  1. I have a list of config files like 40+ would be getting deployed in the /app/abcd/src/Config/ (This will have hundred's of config files with similar extensions)
  2. Now I should write a script where that should search all these new files (40+) in that /app/abcd/src/Config/ directory and if any of the files are not available and those should be displayed as output.

Please assist me in getting this done.

Thanks in advance !

You say you have a list of 40+ config files in a directory and you say there will be hundreds of config files in that directory. Then you say that there are 40+ new files and that if any of those new files are not "available", they should be displayed.

Is this list of 40+ files contained in your head? Is it written on a Post-It note? Is it in a file??? Is this list of 40+ files a list of 40+ new and old files? Or is this list of 40+ files just new files?

What determines whether a file is "new" or not? Is there a list of new files?

What is your definition of "available"? The file is present? The file is readable? The file is a readable, regular file? Something else???

What operating system are you using?

What shell are you using?

Actually 40+ new configure files are going to be deployed from UAT to prod. When I say "available " means , currently those new 40+ files are not deployed/available in production environment .
After the deployment, I want a autoscript which can run and say whether these new 40+ new files has been deployed (available) or not.
As of now I have their names handy (40+ file names) , we can create a .txt file and save them.
so, all file names are unique with their naming convention so that would.

Those files could be .jil (autosys objects) or . Prm (config objects)

It's a Sudo-SH .