#!/bin/bash

for dir in */; do
tar -czvf ${dir%/}.tgz $dir
done
