title: Android: adb pull command not working/not able to perform
body: <p>I am trying to copy a complete directory on my device(<code>not rooted</code>) to a directory in my mac say <code>/Users/myUserName/Documents/Copied</code> using the android <a href="http://developer.android.com/tools/help/adb.html#copyfiles" rel="nofollow">Pull commands</a> but every time I run the command, it gives me a message saying <code>remote object does not exist</code>. </p>
  
  <p>I used </p>
  
  <p><code>File file = new File(Environment.getExternalStorageDirectory()+"/PB/").getAbsolutePath();</code>  </p>
  
  <p>to get the absolute path of the directory in my device which comes out to be <code>/storage/emulated/0/PB</code> . Now I run the below command</p>
  
  <pre><code>./adb pull /storage/emulated/0/PB /Users/myUserName/Documents/Copied/
  </code></pre>
  
  <p>and I get following response </p>
  
  <pre><code>remote object '/storage/emulated/0/PB' does not exist
  </code></pre>
  
  <p>I don't know whats wrong with my approach and why is this not working even if the directory is there in my device.</p>
  
  <p>Please guide.</p>