[GRASS-dev] [grass-code I][566] g.rename fails to rename maps
Patton, Eric
epatton at nrcan.gc.ca
Fri Dec 21 19:01:09 EST 2007
>The case insensitivity may have been intentional. What happens if you
>try this with vector maps or under windows?
>--
>Glynn Clements <glynn at gclements.plus.com>
Again, in spearfish:
$ g.mlist pattern=r*
railroads
roads
rstrct.areas
rushmore
$ g.rename vect=roads,ROADS
Rename vector <roads> to <ROADS>
$ g.mlist -r pattern='^[R|r]'
railroads
roads
rstrct.areas
rushmore
Similarly, with regions:
$ g.list region
----------------------------------------------
region definition files available in mapset <PERMANENT>:
9961 county previous_zoom subregion.NW tributary
----------------------------------------------
$ g.rename region=county,COUNTY
Rename region definition <county> to <COUNTY>
$ g.list region
----------------------------------------------
region definition files available in mapset <PERMANENT>:
9961 county previous_zoom subregion.NW tributary
----------------------------------------------
~ Eric.
More information about the grass-dev
mailing list