#!/bin/sh

for name in "$1"*.txt;
do
 gzip "$name"
done