If you find this document usefull, please consider ordering a printed hardcopy!



6 Deleting maps and projects

In order not to destroy the internal structure of the GRASS database the command g.remove is to be used for deleting single maps within a mapset! It is not recommended to delete files without sufficient knowledge and it should never be carried out manually outside of GRASS or with UNIX commands and/or programs in Linux. By using the command g.mremove it is possible to delete several maps at the same time.

Exception: The deletion of a complete mapset and location. For this purpose, GRASS has to be exit using the command exit. The command rm -r or a file manager (e.g. konqueror) can delete a mapset and/or a location within the GRASS database.

Attention: Accordingly, all saved data (maps, files...) of the respective directories (location, mapset...) will be deleted!

For example: The command rm -rf ~/grassdata/Hanover irrevocably deletes without further enqueries the complete location named Hanover with all its containing mapsets.


If you find this document usefull, please consider ordering a printed hardcopy!


© 2005, GDF Hannover bR - Solutions for spatial data analysis and remote sensing
Last modified: 29-08-2005