I am running 'find /backup/*-hourly.tar.bz2 -mtime +1', but get no results. My current date/time is 2020-03-26 12:19. If I list some of the older files in that directory I get:
Code:
-rw-r--r-- 1 root backup 498680817 2020-03-25 05:17 /backup/20200325051501-hourly.tar.bz2
-rw-r--r-- 1 root backup 495717033 2020-03-25 04:18 /backup/20200325041501-hourly.tar.bz2
-rw-r--r-- 1 root backup 503292281 2020-03-25 03:18 /backup/20200325031502-hourly.tar.bz2
-rw-r--r-- 1 root backup 503634015 2020-03-25 03:05 /backup/20200325030103-hourly.tar.bz2
I also tried 'find /backup -name \*-hourly.tar.bz2 -mtime +1'
Why is my 'find' not listing all of these files? What am I doing wrong?