# replace all files ending in '.log' with a zipped version of the same file ending in '.log.gz' gzip *.log