Какие типы скриптов к каким из `/ etc / pm / sleep.d` и` /usr/lib/pm-utils/sleep.d`?

Из человек находит

+n     for greater than n,
-n     for less than n,
 n      for exactly n.

-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.

Так что правильная строка для резервного копирования файлов, измененных более 90 дней назад, будет

$ find /path/to/files -type f -mtime +90 -exec gzip {} +
1
03.04.2018, 16:43
0 ответов

Теги

Похожие вопросы