Commit f0136f2a authored by SuprDewd's avatar SuprDewd
Browse files

Support for more archive formats.

parent ff0b25b7
...@@ -43,6 +43,8 @@ function extract() { ...@@ -43,6 +43,8 @@ function extract() {
case $1 in case $1 in
*.tar.bz2) tar xvjf $1;; *.tar.bz2) tar xvjf $1;;
*.tar.gz) tar xvzf $1;; *.tar.gz) tar xvzf $1;;
*.tar.xz) tar xvJf $1;;
*.tar.lzma) tar --lzma -xvf $1;;
*.bz2) bunzip $1;; *.bz2) bunzip $1;;
*.rar) unrar $1;; *.rar) unrar $1;;
*.gz) gunzip $1;; *.gz) gunzip $1;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment