Current time on my system according to date
– “Wed Dec 18 07:03:12”.
stat file.deb
File: file.deb
Size: 80961912 Blocks: 158136 IO Block: 4096 regular file
Device: 8,1 Inode: 7603809 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 999/ certbot) Gid: ( 999/systemd-journal)
Access: 2024-12-18 04:10:31.568599724
Modify: 2024-12-16 20:40:38.297812712
Change: 2024-12-16 20:40:38.297812712
Birth: 2024-12-16 20:40:37.337802744
so it is changed at 2024-12-16 20:40:38
,
more then 24 hours ago, but
find . -name file.deb -type f -ctime +1 -print
do not print file.deb
.
If I remove -ctime +1
it prints file.pdf
.
But now 18 Dec, while it was changed 16 Dec, at least 24 hours condition should match,
why “gnu find” can not find file ?
I use debian 12 and find from findutils.
2