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

Rich Shepard rshepard at appl-ecosys.com
Thu Dec 14 11:00:18 PST 2017


On Thu, 14 Dec 2017, Micha Silver wrote:

> I do:
> for r in `g.list rast pattern=test4blk_h_* mapset=other_mapset`; do
> g.copy rast=${r}@other_mapset,${r};
> done
   
Micha,

   Sigh. I keep forgetting that a simple bash script will do the job.

Thanks,

Rich


More information about the grass-user mailing list