Find newer files on linux

Today I had to recover some files from backup that were uploaded during a certain time period over night by a developer into production server. To quickly find the files which needed to be restored I came up with this little trick

find ./ -newer somefile

Where somefile was another file which was a reference point to find any files newer than that one. This listed all the new files.

0 Comments

  1. There are no comments yet.

Add Your Comment

Make sure you share your opinion with us. Fields marked * are required. Any other information is optional and for your own pleasure. Your email address will be hidden and never published or used in any way.


Optional Details

If you like you can tell us your website URL and Twitter Username. We'll link your name to your web address and we'll add a twitter link to your comment. This is completely optional.