Bobby's Blog

Find Any Modified Files for the Past 24 Hours

Find Any Modified Files for the Past 12/24 Hours

The following short script will scan your files and it would list all files which have been modified in the past 24 hours.

I usually use this for regular WordPress, Joomla or custom PHP websites.

Just copy and paste the code below into a file and then execute the file.

If you have any questions you can always feel free to contact me.

 

The other thing that you could do is to setup this as a cron job and email the output over each time there are any modified files.

If anyone needs help with that, please feel free to send me an email.


About the author

Bobby

Linux System Administrator