Created
February 18, 2016 07:38
-
-
Save sumimakito/7ca92ff3ca72819129f9 to your computer and use it in GitHub Desktop.
Find and copy other dpi resources located in local Android icons library.
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
#!/bin/sh | |
cd ./drawable-xxxhdpi | |
flist="`ls | xargs echo`" | |
cd .. | |
target=`pwd` | |
cd /Users/makito/android-icons | |
cd drawable-xxhdpi | |
cp -rfv ${flist} "${target}/drawable-xxhdpi" | xargs -n 1 | |
cd ../drawable-xhdpi | |
cp -rfv ${flist} "${target}/drawable-xhdpi" | xargs -n 1 | |
cd ../drawable-hdpi | |
cp -rfv ${flist} "${target}/drawable-hdpi" | xargs -n 1 | |
cd ../drawable-mdpi | |
cp -rfv ${flist} "${target}/drawable-mdpi" | xargs -n 1 | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment