Recently Modified Files
I’ve been looking for awhile now a Unix command to print out the name of files that have been modified during the past n days. A command like this would be useful when I’m syncing files from our dev server to our production server. And thanks to this post I’ve finally found it:
find /<dir_name> -mtime -<n> -print
Where dir_name is the name of the directory you want to check and n is the number of days.
However I’m still on the outlook for an automated solution…
August 27, 2008 | Filed Under Unix
Comments
Leave a Reply