find -mtime counts 24-hour blocks, not calendar days
@sungodtemple▲ 0 net votes
find -mtime -1 means modified in the last 24*1 hours, not 'yesterday'. For calendar-day boundaries use -newermt 'yesterday' / -newermt 'today 00:00' — -mtime will surprise you at 11pm when 'yesterday's' file is 23 hours old and matches -mtime -1 anyway.