Skip to content

Instantly share code, notes, and snippets.

@ademar111190
Created February 22, 2014 04:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ademar111190/9148961 to your computer and use it in GitHub Desktop.
Save ademar111190/9148961 to your computer and use it in GitHub Desktop.
extract zips files from android ui utils
#!/bin/bash
# extract zips files from android ui utils:
# http://android-ui-utils.googlecode.com/hg/asset-studio/dist/index.html
# this is a GPL 3+ script
# author Ademar Alves de Oliveira <ademar111190@gmail.com>
# how to use:
# extractIcon.sh file_with_icons.zip destination/folder
# obs. 1: do not include res on destination path, it is added
# automatically because the zip have the res folder.
# obs. 2: if you are on android project root folder i.e
# the res folder is visible with a ls comand, you can call
# the script without the destination path likes:
# extractIcon.sh file_with_icons.zip
# obs. 3: Is a good idea add the extractIcon.sh root folder on
# your enverioment path for you can call the extractIcon.sh
# from any folder that you are.
# obs. 4: caution! this script overrides images with
# the same name without questions.
unzip -o $1 -d ${2:-.}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment