Here is a small Python script that will recursively search through directories to find the most recently modified file. This is helpful if you want to search through a directory that contains multiple subdirectories to see if anything has been recently changed. It accepts two optional command line arguments. -n will list the most recent n files. -d will perform the search starting in the specified directory. By default the script will return 1 filename and will begin searching in the directory that the command is launched from.