Script to push data (kml/z) to devices

This commit is contained in:
Dmitry Kunin 2013-07-19 17:51:03 +03:00 committed by Alex Zolotarev
parent 40f23c403e
commit 48579489e8

View file

@ -0,0 +1,14 @@
#!/bin/bash
DATA=../tests/data
DST=/sdcard/MapsWithMe
# clean all
adb -s $1 shell rm $DST/*.kmz
adb -s $1 shell rm $DST/*.kml
# copy files
for file in $(find $DATA -type f) ; do
echo $file
adb -s $1 push $file $DST
done