[GRASS-user] Copying many files of same pattern from one mapset to another

Markus Neteler neteler at osgeo.org
Fri Dec 15 00:17:26 PST 2017


On Fri, Dec 15, 2017 at 12:43 AM, Nikos Alexandris
<nik at nikosalexandris.net> wrote:
...
> For similarly named maps spread in various Mapsets:
>
> for SCENE in $MAPSETS ;do
>        g.copy raster=${PREFIX}@${SCENE},${PREFIX}_${SCENE}
>        g.remove -f type=raster name=${PREFIX}@${SCENE}
> done

Interesting! Maybe worth a flag for optionally having such a feature
in the g.copyall addon?

Markus


More information about the grass-user mailing list