Quite often, I find myself in a situation where I need to figure out which files on my Web server were modified recently. For instance, when I make updates to the development version of my Web site and decide I’m ready to copy those changes over to the production site, I need to find out for sure which files I modified.
This is actually a very simple process when using a *nix-based Web server, assuming you have secure shell (SSH) access. Obviously, these instructions apply to any *nix-based operating system (I’m assuming they also work on Mac, but have not tested), not just Web servers.
To do so, we’ll use the “find” shell command. Find is a pretty powerful and universal search command for Linux/Unix.