Archive
This commit is contained in:
parent
16895af798
commit
898848669c
|
@ -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}"
|
||||
|
|
Reference in a new issue