apt-get update;
apt-get install p7zip-full; # install software

vim /scripts/un7zip.sh; # create a new bash script file

# insert this:

#!/bin/bash

cd $1;

for arc in *.7z
do
   7z x -y "$arc"
done

:wq # write and quit vim

chmod u+x /scripts/un7zip.sh;; # mark it executable

# copy it to the directory containing multiple *.7z files

/scripts/un7zip.sh /this/directory; # run it… it should automatically extract all *.7z files in /this/directory

admin