#!/usr/bin/env bash
archive_name="${1}.tar.gz"; shift
tar czvf "${archive_name}" ${@}
echo "Archive created at: ${archive_name}"