Created
September 20, 2017 15:53
-
-
Save arodbits/b32f2e9b819a5077f4196fb1dcb22231 to your computer and use it in GitHub Desktop.
unzip files in another directory
This file contains hidden or 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 | |
| sudo find ./ -type f -name *.zip | awk -F'/' '{print "unzip -n ./"$3"/" $4 " -d ../extracted/"$3"/"}'| sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment