Added .tar.xz
to ex
alias
This commit is contained in:
parent
40b4b2abd4
commit
f0d3261336
1 changed files with 2 additions and 1 deletions
3
aliasrc
3
aliasrc
|
@ -7,8 +7,9 @@ ex ()
|
||||||
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.xz) tar -xf ;;
|
||||||
*.bz2) bunzip2 $1 ;;
|
*.bz2) bunzip2 $1 ;;
|
||||||
*.rar) unrar x $1 ;;
|
*.rar) unrar x $1 ;;
|
||||||
*.gz) gunzip $1 ;;
|
*.gz) gunzip $1 ;;
|
||||||
*.tar) tar xf $1 ;;
|
*.tar) tar xf $1 ;;
|
||||||
*.tbz2) tar xjf $1 ;;
|
*.tbz2) tar xjf $1 ;;
|
||||||
|
|
Reference in a new issue