I encourage you to please download the script lastModifiedFiles.sh from GitHub and give it try and don't hesitate to make a comment on this post if you have any issue or some suggestions to improve the script.
You can check the script here:
Usage: lastModifiedFiles.sh <directory path>
Make sure to update the correct notification email address in the script and if you want to run this script from cronjob then you have an option to hard code the directory path in the script. If you have defined the path in command line and also have hard coded path then command line argument will be used. Also, remember the lookup time in the script while setting up the cronjob for accurate information.
Any feedback will be highly appreciated.
- How to manage Information Security?
- Crontab: User not allowed to access to (crontab) because of pam configuration
- GoInstant, a New Addition in Salesforce family
- Network Printer Configuration on Linux via Command Line
This post appeared on the softlexicon.com by Sumit Goel. Copyright © 2012–2013 – softlexicon.com and Sumit Goel. All rights reserved. Not to be reproduced for commercial purposes without written permission.