[GRASS5] [bug #4331] (grass) delete if file exist - flag
Request Tracker
grass-bugs at intevation.de
Mon Apr 24 12:37:29 EDT 2006
this bug's URL: http://intevation.de/rt/webrt?serial_num=4331
-------------------------------------------------------------------------
Subject: delete if file exist - flag
Platform: GNU/Linux/x86
grass obtained from: Trento Italy site
grass binary for platform: Compiled from Sources
GRASS Version: cvs 24.04.2006
Hello,
a flag for each module to delete a raster/vector if the file already exists
would be good.
A hidden g.remove with the respective name would do the job. That would make
it easier for users to play with certain settings and not substituting each
time the old name or run g.remove.
BTW the delete file handling is not consistent (but I think that has been
discussed earlier) r.mapcalc is just overwriting the file but e.g. r.rescale
does prompt an error message that the file exist.
regards, Martin
-------------------------------------------- Managed by Request Tracker
More information about the grass-dev
mailing list