Hi, 2013/2/16 Nikos Alexandris <n...@nikosalexandris.net>: > A use case is, for example, that I need to selectively use i.landsat.toar on > many Mapsets (that is, on many Landsat scenes) with the default > method(=uncorrected) and produce At-Sensor-Reflectances while performing > conversion to Top-of-Atmosphere Radiance with i.landsat.toar's "-r" switch. > > Currently, in bash-scripting G7, I try first to remove access to all mapsets > but the current (of course) as follows: > > # one-liner! > g.mapsets mapset=$(g.mapsets -p sep=newline | grep -v `g.mapset -p` | tr "\n" > ",") operation=remove
If I understood well, you want something like g.mapsets set=<current_mapset> ? Martin -- Martin Landa <landa.martin gmail.com> * http://geo.fsv.cvut.cz/~landa _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev