#!/bin/bash

for dir in */; do
echo $dir

tar -czvf ${dir%/}.tgz $dir

done
