[Solved] GNU parallel + gunzip (or 7z, or bsdtar, or unzip): extract every “archivename.zip” into (to-be-created) its “archivename” subfolder

T. Caio Asks: GNU parallel + gunzip (or 7z, or bsdtar, or unzip): extract every “archivename.zip” into (to-be-created) its “archivename” subfolder
As in title. I’ve got a lot of ZIP archives that I want to extract.

All archives have their own unique name.

All archives contain files only (inside archives there are NOT folder(s) at all: no parent / main folder).

I’d like to process all these ZIP archives via GNU parallel.

To sum up:

  • archivename(s).zip has NOT folder(s) inside
  • extract content of archivename(s).zip into archivename(s)/ folder (this folder needs to be created!)
  • keep archivename(s).zip after extracting it
  • repeat this for all the ZIP archivename(s).zip

I was wondering about what utility fits best ZIP extraction: gunzip? unzip? bsdtar? 7z?

P. S.: I’d like to take advantage of GNU parallel for speeding up the whole operation (I’m using SATA SSD devices).

Ten-tools.com may not be responsible for the answers or solutions given to any question asked by the users. All Answers or responses are user generated answers and we do not have proof of its validity or correctness. Please vote for the answer that helped you in order to help others find out which is the most helpful answer. Questions labeled as solved may be solved or may not be solved depending on the type of question and the date posted for some posts may be scheduled to be deleted periodically. Do not hesitate to share your response here to help other visitors like you. Thank you, Ten-tools.