zstd extract support
This commit is contained in:
parent
7848a96b3d
commit
3f55407ac9
@ -77,6 +77,8 @@ extract() {
|
||||
*.zip) unzip $1 ;;
|
||||
*.Z) uncompress $1 ;;
|
||||
*.7z) 7z x $1 ;;
|
||||
*.tar.zst) tar --use-compress-program=unzstd -xvf $1 ;;
|
||||
*.zst) zstd -d $1 ;;
|
||||
*) echo "don't know how to extract '$1'..." ;;
|
||||
esac
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user