Created
September 27, 2023 17:16
-
-
Save kaubu/1cd6068cfadf8e8a7d7709eb703af5e1 to your computer and use it in GitHub Desktop.
Extract all zip files (made by 7zip) inside of a directory, in parallel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
ls *.zip | parallel -j+0 --eta '7z x {} >/dev/null' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change
.zip
to.7z
depending on your use caseCredit: https://stackoverflow.com/a/17771205