Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c3629077c1
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (11 sloc) 0.297 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'
getData "$DATAPATH"
else
echo "Camera directory doesn't exist?"
fi
Jump to Line
Something went wrong with that request. Please try again.