Skip to content

Instantly share code, notes, and snippets.

@harish2704
Created March 7, 2018 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harish2704/b886fb5187e16fcc74b5734ff918ad48 to your computer and use it in GitHub Desktop.
Save harish2704/b886fb5187e16fcc74b5734ff918ad48 to your computer and use it in GitHub Desktop.
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