Article 519PT find -mtime not working

find -mtime not working

by
mfoley
from LinuxQuestions.org on (#519PT)
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.bz2I 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?latest?d=yIl2AUoC8zA latest?i=YTe2bSg413c:HnpKNSNWvmg:F7zBnMy latest?i=YTe2bSg413c:HnpKNSNWvmg:V_sGLiP latest?d=qj6IDK7rITs latest?i=YTe2bSg413c:HnpKNSNWvmg:gIN9vFwYTe2bSg413c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments