Add script to automatically import scan file from phone
This commit is contained in:
parent
c1f581f312
commit
03e8dc8c03
|
@ -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
|
Loading…
Reference in New Issue