Skip to content

Instantly share code, notes, and snippets.

@kiendang
Last active February 11, 2019 10:48
Embed
What would you like to do?
unzip all .zip files into directories
#!/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