Andrea Aime ha scritto:
> Hi,
> looking at the nightly builds I noticed they
> are accumulating:
> http://gridlock.openplans.org/geoserver/1.7.x/
>
> I guess we need to add something at the end of the
> script that kills everything older than x days.
>
> Arne suggested something along the lines of:
>
> find $dist -mtime +6 -exec -rf {} \;
Original Arne suggestion was actually something with
a file filter, I removed it to just use one command
but it's in fact dangerous.
So it would be more something like:
find $dist -name 'geoserver*bin.zip' -mtime +6 -exec -rf {} \;
find $dist -name 'geoserver*war.zip' -mtime +6 -exec -rf {} \;
find $dist -name 'ext-*.zip' -mtime +6 -exec -rf {} \;
And we can keep more days, a few gigs load is fine, some
maybe last 20 days? (should amount to 2GB more or less)
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel