Bash: extract path for unrar.

This commit is contained in:
Artem Sapegin 2012-11-09 12:31:06 +04:00
parent ab99aec845
commit 968f1db509
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ function extract() {
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.rar) unrar x $1 $2 ;;
*.gz) gunzip $1 ;;
*.zip) unzip -d$dir_name $1 ;;
*.Z) uncompress $1 ;;