Home | History | Annotate | Download | only in bin
      1 #!/bin/bash
      2 
      3 ###############################################################################
      4 # Copyright 2015 Google Inc.
      5 #
      6 # Use of this source code is governed by a BSD-style license that can be
      7 # found in the LICENSE file.
      8 ###############################################################################
      9 #
     10 # Pull the given file/directory off the device.
     11 #
     12 set -x -e
     13 
     14 SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
     15 source $SCRIPT_DIR/ios_setup.sh
     16 
     17 DEVICE_PATH=$1
     18 HOST_PATH=$2
     19 
     20 ios_pull $DEVICE_PATH $HOST_PATH
     21