Size of GRASS files

Rick Thompson rick at cast.uark.edu
Fri Mar 1 07:00:00 EST 1996


Hi Percy,
  You can modify this:
# Find the total size of a vector file.
ls -l dig*/name_of_file | awk '{sum = sum + $5} END {print sum}'

On Fri, 1 Mar 1996, Pacheco, Percy wrote:

> I would like to know if there is a single command  in GRASS or a script some
> body might have written to find out the exact size in bytes of vector and ras
ter
> files.  I find a little inconvenient to use UNIX commands for this effort.
------------------------------------------------------------------------
Rick Thompson-   Research Specialist          E-mail: rick at cast.uark.edu
Center for Advanced Spatial Technologies      Telephone: (501) 575-6159
Ozark Hall Rm. 12                             Fax: (501) 575-5218
University of Arkansas              
Fayetteville, AR 72701
DISCLAIMER: Any opinions or comments about any product, organization,
            or individual expressed in the above text are my own.





More information about the grass-user mailing list