Trimming the snapshots

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: <blacknoz(at)club-internet(dot)fr>
Cc: "pgadmin-hackers" <pgadmin-hackers(at)postgresql(dot)org>
Subject: Trimming the snapshots
Date: 2005-05-05 14:57:45
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E490DB7E@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Andreas Pflug 2005-05-05 15:06:23 Re: CVS HEAD compile error
Previous Message svn 2005-05-05 14:56:35 SVN Commit by andreas: r4138 - trunk/pgadmin3/src/ui