#!/bin/bash rm -f ${1}.tgz cd ${1} tar -czf ../${1}.tgz * cd .. tar -tzvf ${1}.tgz | less