Find Files Modified in the last X Days

This is post is now quite old and the the information it contains may be out of date or innacurate.

If you find any errors or have any suggestions to update the information please let us know or create a pull request on GitHub

If you need to check which files (eg PHP files for example) have been modified within the last few days, you can run this quick command.


find . -mtime -36 -iname "*.php" -fprint modded.txt

This will generate a list and save it to a file called modded.txt.