From 48579489e890e1ed645b91625c6e41dbdc93d97b Mon Sep 17 00:00:00 2001 From: Dmitry Kunin Date: Fri, 19 Jul 2013 17:51:03 +0300 Subject: [PATCH] Script to push data (kml/z) to devices --- android/script/push_data.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 android/script/push_data.sh diff --git a/android/script/push_data.sh b/android/script/push_data.sh new file mode 100644 index 0000000000..014a17a4e6 --- /dev/null +++ b/android/script/push_data.sh @@ -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