How can I extract multiple 7z files in folder at once in Ubuntu?

Robert Cardona picture Robert Cardona · Nov 25, 2010 · Viewed 35.6k times · Source

How can I extract about 900 7z files which are all located in the same folder (all have only one file inside) without doing it one by one?

I am using Ubuntu 10.10. All files are located in /home/username/folder1/folder2.

Answer

Santosh Pillai picture Santosh Pillai · Sep 7, 2016
7za -y x "*.7z" 

The above code worked for me