I have a problem of trying to identify whether a certain set of files in a source folder exist in a target folder.
I'm looking to create a HP-UX KSH script which when given the following as command line args would check if a file exists in both directories;
a) File pattern e.g. *.txt
b) Source directory
c) Target directory
Can anybody point me in the right direction, or explain how I begin to tackle this problem?
I'm looking to create a HP-UX KSH script which when given the following as command line args would check if a file exists in both directories;
a) File pattern e.g. *.txt
b) Source directory
c) Target directory
Can anybody point me in the right direction, or explain how I begin to tackle this problem?