Skip to content

Instantly share code, notes, and snippets.

@kaubu
Created September 27, 2023 17:16
Show Gist options
  • Save kaubu/1cd6068cfadf8e8a7d7709eb703af5e1 to your computer and use it in GitHub Desktop.
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
#!/bin/sh
ls *.zip | parallel -j+0 --eta '7z x {} >/dev/null'
@kaubu
Copy link
Author

kaubu commented Sep 27, 2023

Change .zip to .7z depending on your use case

Credit: https://stackoverflow.com/a/17771205

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment