Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 17 lines (11 sloc) 0.315 kb
104a4ce @kosborn Added underlying functionality for more flexible 'find' searches. Cur…
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 getSearch "$DATAPATH" "*.jpg" "+200k"
13 else
14 echo "Camera directory doesn't exist?"
15 fi
16
Something went wrong with that request. Please try again.