Skip to content

Instantly share code, notes, and snippets.

@Echooff3
Created October 25, 2017 21:04
Show Gist options
  • Save Echooff3/e149ac7e24f65a54339f5b3a9aafb3a5 to your computer and use it in GitHub Desktop.
Save Echooff3/e149ac7e24f65a54339f5b3a9aafb3a5 to your computer and use it in GitHub Desktop.
xargs random folder unzip
head -200 /dev/urandom | cksum | cut -f1 -d " "
find ./ -name "*.zip" -type f -print0 | xargs -0 -I {} sh -c 'unzip {} -d ./$(head -200 /dev/urandom | cksum | cut -f1 -d " ")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment