Created
March 7, 2018 13:29
-
-
Save harish2704/b886fb5187e16fcc74b5734ff918ad48 to your computer and use it in GitHub Desktop.
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
file-roller --extract-here * | |
for i in $(ls -d */); do | |
extId=$( cat $i/metadata.json | grep uuid | sed 's/.*"uuid".*"\(.*\)".*/\1/' ); | |
mv $i $extId; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment