esac
$PRG %D/%F | tar xvpf -
-+ f \.(bz2|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR)$ & t r
++ f \.(bz2|egg|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR|whl)$ & 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";;
- *.zip|*.ZIP) P="unzip";;
+ *.egg|*.zip|*.ZIP|*.whl) P="unzip";;
*.rar|*.RAR) P="unrar x -y";;
esac
exec $P %f
-+ F \.(bz2|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR)$ & T r
++ F \.(bz2|egg|gz|lz|lzma|7z|xz|tar|zip|ZIP|rar|RAR|whl)$ & 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";;
- *.zip|*.ZIP) P="unzip";;
+ *.egg|*.zip|*.ZIP|*.whl) P="unzip";;
*.rar|*.RAR) P="unrar x -y";;
esac
exec $P %D/%F