#!/bin/sh
# This file is executed by the `release` script from
# https://github.com/gap-system/ReleaseTools
echo "Current data file disk space:"
du -h data
echo "Compressing data files..."
for file in data/*.g
do
    gzip -n "$file"
    printf .
done
echo
echo "Done compressing data file, disk space:"
du -h data
