This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/common/bin/archive

6 lines
149 B
Plaintext
Raw Permalink Normal View History

2019-12-05 16:09:52 -06:00
#!/usr/bin/env bash
2020-01-07 10:59:22 -06:00
archive_name="$(basename "${1}").tar.zstd"
tar --zstd -cvf "${archive_name}" "${@}"
echo "Archive created at: ${archive_name} "