sourabhjha
Programmer
Hi,
I have a requirement where i need find out if any of the files in a given folder has been modified(modification in the file content).I plan to set this script in my crontab and run it once daily.Thus i can know if any of the files in the given folder were modified during the day.How shall i accomplish this.
One thing which i have in mind is that i can check the timestamp and size of these files from the daily backups which is taken for these files.And log the changes thus if found for any file.
Is there any better way to acheive this? And also is there anyway to do a file comparision in solaris so as i can also know the exact modification done in the file.
Thanks,
-Sourabh
I have a requirement where i need find out if any of the files in a given folder has been modified(modification in the file content).I plan to set this script in my crontab and run it once daily.Thus i can know if any of the files in the given folder were modified during the day.How shall i accomplish this.
One thing which i have in mind is that i can check the timestamp and size of these files from the daily backups which is taken for these files.And log the changes thus if found for any file.
Is there any better way to acheive this? And also is there anyway to do a file comparision in solaris so as i can also know the exact modification done in the file.
Thanks,
-Sourabh