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

6 lines
139 B
Bash
Executable File

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