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