how to access android mobile from bash
Colin Law
clanlaw at gmail.com
Thu May 5 11:32:45 UTC 2016
On 5 May 2016 at 12:13, robert rottermann <robert at redcor.ch> wrote:
> Hi there,
>
> I have ubuntu 16.04 installed.
> when I attach an android device a files browser windows pups up and I can
> navigate trough the files on the phone.
> However I would like to download the files using rsync. So I try to access
> them using bash commands.
>
> In 14.10 (15.10??) this could be done using the path:
> ls -l /run/user/1000/gvfs
> but now this gives a permission denied error (even as root).
If you browse to /run/user/1000/gvfs in nautilus (or cd there in the
command line) you will see your device as mtp:host=<something> That
is the path to use. Unfortunately I don't think this is a fixed
string, though not certain about that. Instead I use adb pull to
fetch files.
Colin
More information about the ubuntu-users
mailing list