TheMathemagicians/sevenkeys/pullscan

10 lines
289 B
Plaintext
Raw Normal View History

#!/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