diff --git a/sevenkeys/pullscan b/sevenkeys/pullscan new file mode 100755 index 0000000..10da19f --- /dev/null +++ b/sevenkeys/pullscan @@ -0,0 +1,9 @@ +#!/bin/sh + +set -e + +filename="$(adb shell 'find /sdcard/Download/ | grep Temporary')" +adb pull "$filename" /home/viciouscirce/dox/sevenkeys_imports/import.csv +adb shell "rm $filename" +./sevenkeys --profile=production import import.csv +rm /home/viciouscirce/dox/sevenkeys_imports/import.csv