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

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

# insert this:

[cc lang=”bash” escaped=”true” width=”600″]
#!/bin/bash

cd $1;

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

[/cc]

: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

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin