I am trying to discover a modified file from a certain day. I have been using find . -mtime -2 but I need to go back even further, this past Thursday and just Thursday.
I am not anywhere near proficient in unix commands so any help would be awesome.
Thanks
If you want to find files that were modified after last Thursday use this command
Before last Thursday
Only Thursday
The last Thursday was
2012-12-13. When you search any file that has modification date lower than Thursday infindit should be-not newermt '2012-12-13'. When you search Only files modified on this Thursday its lower than Wednesday but greater than Thursday. And yes you can omit00:00:00part if you wish.Note: POSIX
finddoes not have-newerXY. It has only-newer. To convert-newermt "2012-12-13 00:00:00"use this.