This commit is contained in:
Daniel Flanagan 2019-12-06 10:08:42 -06:00
parent 16895af798
commit 898848669c

View file

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