Sample Header Ad - 728x90

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

2 votes
1 answer
1039 views
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)*.
Asked by T. Caio (129 rep)
Jun 10, 2020, 10:49 AM
Last activity: Feb 16, 2023, 08:33 PM