Find files based on modified date(specifying the exact hour)
go for this one:
find . -newermt "2013-01-01 00:00:00" ! -newermt "2013-01-02 00:00:00"
m The modification time of the file reference
t reference is interpreted directly as a time
The basic structure of the find
command looks like this:
# find <paths> <filters> <actions>
find / -mtime -10 -mtime +4
find
has +
and -
operators that work with the mtime
, atime
and ctime
options:
atime == Access Time
mtime == Modified Time
ctime == Change Time
You can read inode
with -*time
and define intervals for your times via +
and/or -