Trimming the snapshots
От | Dave Page |
---|---|
Тема | Trimming the snapshots |
Дата | |
Msg-id | E7F85A1B5FF8D44C8A1AF6885BC9A0E490DB7E@ratbert.vale-housing.co.uk обсуждение исходный текст |
Ответы |
Re: Trimming the snapshots
|
Список | pgadmin-hackers |
Hi Raphael I've been sorting out the snapshots directory on the new developer.pgadmin.org box and have kindof hit a brick wall with the Debian stuff because I don't know what can and can't be removed. What I'd like to do is remove all pre-1.3.0 snapshots as these are effectively outdated by 1.2.x (as well as versions of wx now everything runs with the stock version), and then implement automatic deletion of all but the 5 newest snapshots. For the src, win32, slackware and osx directories I'm using a script I knocked up to do this automatically, eg: /usr/local/bin/cull "/var/www/developer.pgadmin.org/snapshots/linux/slackware/pgadmin3-*.tgz " 5 will delete all but the 5 newest files matching the pattern specified. Is it feasible to do something like this in the debian hierarchy, or is extra work required? What do you suggest? Thanks, Dave.
В списке pgadmin-hackers по дате отправления: