Janghyegyung
Technical User
$date
Wed Oct 10 13:53:05 GMT 2001
$ find /log2 -mtime 1 -exec ls -l {} \;
--> Output
-rw-rw-r-- 1 root other 308576592 Oct 9 00:10 /log2/09Oct2001-00:10:02.log
-rw-rw-r-- 1 root other 27001760 Oct 9 00:10 /log2/09Oct2001-00:10:02.logptr
-rw-rw-r-- 1 root other 4096 Oct 9 00:10 /log2/09Oct2001-00:10:02.alogptr
I thought -mtime +1 instead of -mtime 1 to get the output like this.
I know the times are in days..
But How exactly means that mtime 1 / mtime -1 / mtime +1?
Wed Oct 10 13:53:05 GMT 2001
$ find /log2 -mtime 1 -exec ls -l {} \;
--> Output
-rw-rw-r-- 1 root other 308576592 Oct 9 00:10 /log2/09Oct2001-00:10:02.log
-rw-rw-r-- 1 root other 27001760 Oct 9 00:10 /log2/09Oct2001-00:10:02.logptr
-rw-rw-r-- 1 root other 4096 Oct 9 00:10 /log2/09Oct2001-00:10:02.alogptr
I thought -mtime +1 instead of -mtime 1 to get the output like this.
I know the times are in days..
But How exactly means that mtime 1 / mtime -1 / mtime +1?