[GRASS-user] Copying from a mapset in another data directory

Jonathan Greenberg greenberg at ucdavis.edu
Mon May 24 17:35:02 EDT 2010


Excellent -- symlinking is working properly -- now on to my next
question -- is there a way to do some level of "batch" g.copy using a
wildcard, e.g.:

g.copy rast=ned_ca_masked_epsg3310_*@comet

Or do I have to specific each raster individually, along with its
target file name?

--j


On Wed, May 19, 2010 at 8:30 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>
> Jonathan Greenberg wrote:
>
>> So assuming that we have duplicated the projection info from one
>> filesystem to the next (the case I'm dealing with is running out of
>> space on one filesystem, and we needed to continue work on another but
>> using the same projection info) -- if I create mapset on one of the
>> two filesystems, and then symlink it within the identical location on
>> the other filesystem, would this work to allow me to g.copy (or,
>> indeed, allow me to reference the files using @ from both
>> filesystems?)
>
> Probably.
>
> Accessing it shouldn't be a problem, although selecting the symlink as
> the current mapset *might* have issues with something expecting the
> mapset directory to actually be a directory. In the event that this
> does happen, on Linux you can use a "bind mount" to effectively move a
> directory to a different location on the file system.
>
> --
> Glynn Clements <glynn at gclements.plus.com>
>


More information about the grass-user mailing list