Created
February 22, 2014 04:56
-
-
Save ademar111190/9148961 to your computer and use it in GitHub Desktop.
extract zips files from android ui utils
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/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 <[email protected]> | |
# 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