Archive
This commit is contained in:
parent
16895af798
commit
898848669c
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
archive_name="${1}"; shift
|
archive_name="${1}.tar.gz"; shift
|
||||||
tar czvf "${archive_name}.tar.gz" ${@}
|
tar czvf "${archive_name}" ${@}
|
||||||
echo "Archive created at: ${archive_name}"
|
echo "Archive created at: ${archive_name}"
|
||||||
|
|
Reference in a new issue