Last active
February 11, 2019 10:48
-
-
Save kiendang/9e67624ae949980a2eaf7ba0890d29b9 to your computer and use it in GitHub Desktop.
unzip all .zip files into directories
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/bash | |
find ${1:-.} -name '*.zip' | sed 's/.zip//' | xargs -n1 -P $(nproc) -I _ unzip _.zip -d _ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment