[GRASS-user] cleaning unwanted files
Glynn Clements
glynn at gclements.plus.com
Tue Nov 18 13:56:59 EST 2008
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.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list