esac
$PRG %D/%F | tar xvpf -
-+ f \.(bz2|egg|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR|whl)$ & t r
++ f \.(bz2|egg|gz|lz|lzma|7z|xz|tar|whl|zip|ZIP|rar|RAR)$ & t r
x Extract a compressed file
case %f in
*.bz2) P="bzip2 -d";;
*.7z) P="7zr x";;
*.xz) P="xz -d";;
*.tar) P="tar xvpf";;
- *.egg|*.zip|*.ZIP|*.whl) P="unzip";;
+ *.egg|*.whl|*.zip|*.ZIP) P="unzip";;
*.rar|*.RAR) P="unrar x -y";;
esac
exec $P %f
-+ F \.(bz2|egg|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR|whl)$ & T r
++ F \.(bz2|egg|gz|lz|lzma|7z|xz|tar|whl|zip|ZIP|rar|RAR)$ & T r
X Extract another compressed file
case %F in
*.bz2) P="bzip2 -d";;
*.7z) P="7zr x";;
*.xz) P="xz -d";;
*.tar) P="tar xvpf";;
- *.egg|*.zip|*.ZIP|*.whl) P="unzip";;
+ *.egg|*.whl|*.zip|*.ZIP) P="unzip";;
*.rar|*.RAR) P="unrar x -y";;
esac
exec $P %D/%F