У меня есть рабочий скрипт:
#!/bin/bash find ~/.backups/ -type f -name '*.tgz' -mtime +0.5 -exec rm {} \;
Ничего плохого в этом нет.Просто интересно, что такое время и как оно рассчитывается.Похоже, что Google не может получить отклик.
С man find:
man find
-mtime n File's data was last modified n*24 hours ago. See the comments for -atime to understand how rounding affects the interpretation of file modification times.