Add tar.zstd

This commit is contained in:
Jan Jastrow 2024-12-04 18:49:43 +01:00
parent 5af4722f07
commit 963876e0f7

View File

@ -84,6 +84,7 @@ function extract () {
case $1 in case $1 in
*.tar.bz2) tar xjf "$1" ;; *.tar.bz2) tar xjf "$1" ;;
*.tar.gz) tar xzf "$1" ;; *.tar.gz) tar xzf "$1" ;;
*.tar.zstd) tar --zstd -xf "$1" ;;
*.bz2) bunzip2 "$1" ;; *.bz2) bunzip2 "$1" ;;
*.rar) unrar x "$1" ;; *.rar) unrar x "$1" ;;
*.gz) gunzip "$1" ;; *.gz) gunzip "$1" ;;