Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 265ac1b8af
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (11 sloc) 0.315 kB
# p2p-adb
# https://github.com/kosborn/p2p-adb/
# @theKos
# kyle@kyleosborn.com
DIREXISTS=$(adb shell '[[ -d /sdcard/DCIM/Camera/ ]] && echo 1' | tr -d "\r")
if [ "$DIREXISTS" = "1" ]; then
DATAPATH='/sdcard/DCIM/Camera'
getSearch "$DATAPATH" "*.jpg" "+200k"
else
echo "Camera directory doesn't exist?"
fi
Jump to Line
Something went wrong with that request. Please try again.