forked from organicmaps/organicmaps
Script to push data (kml/z) to devices
This commit is contained in:
parent
40f23c403e
commit
48579489e8
1 changed files with 14 additions and 0 deletions
14
android/script/push_data.sh
Normal file
14
android/script/push_data.sh
Normal 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
|
Loading…
Add table
Reference in a new issue