#!/bin/sh

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