#!/bin/sh
# GRASS Development Team

# Script to re-compress all GRASS GIS raster maps

LIST=`g.mlist -w`

if test "$GISBASE" = ""; then
echo "You must be in GRASS to run this program."
exit
fi

VERSION=`g.version  | head -1`
echo "You are using $VERSION (or CVS)"

for i in $LIST
do
 echo "Working on $i..."
 r.compress $i
done

