Extract multiple 7z files in folder (at once)

To extract multiple 7z files at once, use the next script

for fileToExtract in *.7z
do
  7z x "$fileToExtract"
done

Remember, x option means extract files with full paths.

Leave a Reply

Your email address will not be published. Required fields are marked *