[GRASSLIST:371] Re: clearing out .tmp directory?
Soil & Water Lab.
swlab at cornell.edu
Thu Jun 12 17:21:04 EDT 2003
On Thursday 12 June 2003 16:52, Alex Thorn wrote:
> I'm running a simulation model that
> fills the .tmp directory regularly, tending to make
> the model run more slowly over time.
Are you running a script ? In that case, put something like
echo -e "Cleaning temporary files"
rm -f $GISDBASE/$LOCATION_NAME/$MAPSET/.tmp/${HOSTNAME}/*
in an adequate place (just before new iteration, for example). You'd better do
it regularly, if you don't want a "Argument list too long".
If you don't run a script, then force your code to use the "rm shell command"
Please give also a look at "[GRASSLIST:162] RE: Temp files and bunnies" in the
maillist archive
Enjoy
P.
More information about the grass-user
mailing list