#!/bin/sh
cd tables
for FILE in *;do 
tar -zcvf "../compressed/$FILE.gz" $FILE
done