function maketar { date=`date +%d%m%Y` for x in $* ; do y=`basename $x` tar czvf $y-${date}.tar.gz $x done } export -f maketar