# .tar.gz / .tgz alias tgzc='_tgzc(){ tar -zcvf `basename $1`.tar.gz $1; };_tgzc' alias tgzx='tar -zxvf' # .tar.bz2 / .tbz2 alias tbz2c='_tbz2c(){ tar -jcvf `basename $1`.tar.bz2 $1; };_tbz2c' alias tbz2x='tar -jxvf' # .tar.xz / .txz alias txzc='_txzc(){ tar -Jcvf `basename $1`.tar.xz $1; };_txzc' alias txzx='tar -Jxvf' # .7z alias 7zc='_7zc(){ 7za a -r `basename $1`.7z $1; };_7zc' alias 7zx='_7zx(){ 7za x $1 -r -o./; };_7zx'