Репозитории ALT
S: | 0.3.0-alt2 |
5.1: | 0.3.0-alt1 |
4.1: | 0.2.1-alt1 |
4.0: | 0.2.1-alt1 |
3.0: | 0.2.0-alt1 |
Группа :: Архивирование/Резервное копирование
Пакет: ls4sweep
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Текущая версия: 0.2.0-alt1
Время сборки: 13 июня 2005, 02:09 ( 980.6 недели назад )
Размер архива: 18.51 Kb
Домашняя страница: http://ilya-evseev.narod.ru/posix/ls4sweep
Лицензия: GPL
О пакете: Policy-based listing old backups for sweeping
Описание:
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
ACL:
Время сборки: 13 июня 2005, 02:09 ( 980.6 недели назад )
Размер архива: 18.51 Kb
Домашняя страница: http://ilya-evseev.narod.ru/posix/ls4sweep
Лицензия: GPL
О пакете: Policy-based listing old backups for sweeping
Описание:
ls4sweep should be used as helper for removing extra old daily-created backups.
Sweeping policy consists from the set of records, where each record contains
the count of intervals (or periods) and the length of one period (in days).
ls4sweep checks creation or modification time of given files and displays names
of those when they mismatch policy. Only one file is keeping in each interval.
Consider following command:
ls4sweep 3:1,2:3,2:10,2:30,3:90,5:365 *.zip
This means:
- keep daily ZIP-archives in current directory for last 3 days
- older than 3 days - keep 2 archives with 3-days delta
- older than 9 days (3*1 + 2*3) - 2 archives with 10-days delta
- older than one month (3*1 + 2*3 + 2+10) - 2 archives with monthly delta
- older than 3 months - 3 archives with 90-days delta
- older than one year - yearly archive for five years
- display filenames of all remaining stuff
ls4sweep output can be directly passed to '| xargs -r /bin/rm -f' command.
When you create archives via cron(8), you can put cleanup via ls4sweep call
after creation.
Текущий майнтейнер: Ilya Evseev Sweeping policy consists from the set of records, where each record contains
the count of intervals (or periods) and the length of one period (in days).
ls4sweep checks creation or modification time of given files and displays names
of those when they mismatch policy. Only one file is keeping in each interval.
Consider following command:
ls4sweep 3:1,2:3,2:10,2:30,3:90,5:365 *.zip
This means:
- keep daily ZIP-archives in current directory for last 3 days
- older than 3 days - keep 2 archives with 3-days delta
- older than 9 days (3*1 + 2*3) - 2 archives with 10-days delta
- older than one month (3*1 + 2*3 + 2+10) - 2 archives with monthly delta
- older than 3 months - 3 archives with 90-days delta
- older than one year - yearly archive for five years
- display filenames of all remaining stuff
ls4sweep output can be directly passed to '| xargs -r /bin/rm -f' command.
When you create archives via cron(8), you can put cleanup via ls4sweep call
after creation.
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
- ls4sweep