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/bin/archive
Daniel Flanagan b1709d1e94 Stuff
2020-01-07 10:59:22 -06:00

6 lines
149 B
Bash
Executable file

#!/usr/bin/env bash
archive_name="$(basename "${1}").tar.zstd"
tar --zstd -cvf "${archive_name}" "${@}"
echo "Archive created at: ${archive_name} "