Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (11 sloc) 0.297 kb
4419060 Kos Turns out the version of sh I'm testing against doesn't support read -p
authored
1 # p2p-adb
2 # https://github.com/kosborn/p2p-adb/
3 # @theKos
4 # kyle@kyleosborn.com
5
6
7
8 DIREXISTS=$(adb shell '[[ -d /sdcard/DCIM/Camera/ ]] && echo 1' | tr -d "\r")
9
10 if [ "$DIREXISTS" = "1" ]; then
11 DATAPATH='/sdcard/DCIM/Camera'
12 getData "$DATAPATH"
13 else
14 echo "Camera directory doesn't exist?"
15 fi
d289fae Kos Added run.sh - This will be our easy run script...
authored
16
Something went wrong with that request. Please try again.