[GRASS-user] Behavior difference: g.list and g.remove
Moritz Lennert
mlennert at club.worldonline.be
Thu Dec 14 08:45:11 PST 2017
On 14/12/17 17:18, Rich Shepard wrote:
> Running 7.5.svn (r71933) on Slackware-14.2. Using g.remove without the
> '-f' option to check which files would be removed does not find the same
> files found by g.list:
>
>> g.list type=rast pattern=blocked1_*
> blocked1_h_0000
> blocked1_h_0001
> blocked1_h_0002
> blocked1_h_0003
> blocked1_h_max
> [Raster MASK present]
>
>> g.remove type=rast pattern=blocked1_*
> The following data base element files would be deleted:
> WARNING: No data base element files found
> [Raster MASK present]
>
> Is this a user error?
In which mapset are the maps found by g.list. AFAIR, g.remove only lists
those files that are in the current mapset as the user can only remove
files there.
Moritz
More information about the grass-user
mailing list