[GRASS-user] cleaning unwanted files

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Tue Nov 18 14:46:21 EST 2008


On Tue, 2008-11-18 at 18:56 +0000, Glynn Clements wrote:
> Milton Cezar Ribeiro wrote:
> 
> > As I run Native Wingrass I believe that many times, when I need stop
> > processing
> > by "brute force", some unwanted "lost files". As I am running relatively
> > large raster maps
> > (~70,000 vs 65,000 pixels), I fill that the size of my "map set directory"
> > are increasing
> > more than what I think is ok.
> > 
> > Is there a grass command that I can run and "repair" my mapset checking for
> > lost files, or unneeded files?
> 
> $GISBASE/etc/clean_temp should clean up the temporary directory (which
> is <database>/<location>/<mapset>/.tmp/<hostname>). Also, it should be
> cleaned automatically upon exit, so exiting and restarting GRASS will
> work.
> 
> We don't provide a "visible" command to do this because sometimes a
> temporary file need to be kept around (mainly for XDRIVER, maybe also
> for gis.m); the only time when it's definitely safe to clean the
> temporary directory is on exit.
> 

Hi!

What about the GIS_ERROR_LOG?

Right now this file is in my /home directory and occupies 187MB! Can we
safely remove it (since there are many not important messages there)?

Should we back it up?

Can the code that produces it modified on order to remove after some
time old entries (like old clean_temp)?

Kind regards, Nikos



More information about the grass-user mailing list