I would like to have a korn script that would count files in a directory and compare them to a base file. In other words, a script will count files in a certain directory, it will then output what it has counted to a file, this file will then compare this count with another file that has what the exact file should be. This would be an auditing script, that would check multiple directories. Any ideas?
All assistance will be very much appreciated.
All assistance will be very much appreciated.