accessing android with ssh/rsync
robert rottermann
robert at redcor.ch
Sat Apr 4 08:41:07 UTC 2015
Colin,
thanks for your answer
On 30.03.2015 18:13, Colin Law wrote:
> On 30 March 2015 at 16:39, robert rottermann <robert at redcor.ch> wrote:
>> ...
>> I tried to access the device using a usb-cable.
>>
>> I do see the the device in the list of the device on my desktop, can access
>> it using the file explore ..
>> But I can not find it in the file system.
>> In former Ubuntu version the android was mounted as block device under
>> /media/xx (i believe), so rsync could be used easily.
> MTP devices mount under
> /run/user/$USER/gvfs
> The folder will be something like mtp:host=%5Busb%3A001%2C009%5D which
> is the equivalent of mtp:host=[usb:001,009] in my case.
I can list the list like this:
ls -l /run/user/1000/gvfs/mtp\:host\=%5Busb%3A001%2C010%5D/Phone/DCIM/Camera/
but an atempt to copy them results in an access error:
cp -ruv /run/user/1000/gvfs/mtp\:host\=%5Busb%3A001%2C010%5D/Phone/DCIM/Camera/ .
produces:
‘/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C010%5D/Phone/DCIM/Camera/20150403_152133.jpg’
-> ‘./Camera/20150403_152133.jpg’
cp: cannot open
‘/run/user/1000/gvfs/mtp:host=%5Busb%3A001%2C010%5D/Phone/DCIM/Camera/20150403_152133.jpg’
for reading: Operation not supported
is there a flag I have to set or something ..
thanks
robert
More information about the ubuntu-users
mailing list