access phone filesystem in command line

Albert Vaca albertvaka at gmail.com
Tue Sep 4 13:48:53 BST 2018


Then you will need to access the mount point using the full path in your
phone, eg:

/run/user/1000/a0d8ad8b2a7b72fc/storage/emulated/0/

On Tue, Sep 4, 2018 at 2:12 PM Albert Vaca <albertvaka at gmail.com> wrote:

> You can avoid KIO altogether by using DBus to mount the remote
> filesystem via the command line. This is how to do it using Qt's
> qdbus (change the device id for yours):
>
> $ qdbus org.kde.kdeconnect
> /modules/kdeconnect/devices/a0d8ad8b2a7b72fc/sftp mountAndWait
> true
> $ qdbus org.kde.kdeconnect
> /modules/kdeconnect/devices/a0d8ad8b2a7b72fc/sftp mountPoint
> /run/user/1000/a0d8ad8b2a7b72fc
>
>
> On Thu, Aug 23, 2018 at 4:42 PM Nerijus Baliunas <
> nerijus at users.sourceforge.net> wrote:
>
>> I still get the same error. On my F28 I have the latest packages:
>> kde-connect-1.3.0-1.fc28.x86_64
>> kde-connect-nautilus-1.3.0-1.fc28.x86_64
>> kde-connect-libs-1.3.0-1.fc28.x86_64
>> kdeconnectd-1.3.0-1.fc28.x86_64
>>
>> I updated to 1.3.1 (built packages manually), but still the same.
>> What file(s) do I need for protocol 'kdeconnect' to work? Maybe Fedora
>> does not package them?
>>
>> On Wed, 22 Aug 2018 00:43:47 +0300 Alexandr Psevdonim <
>> a.abramovuch at gmail.com> wrote:
>>
>> > Hi Kfolks, I were not able to reproduce:
>> >
>> > > user at user~$ kioclient ls kdeconnect://
>> >
>> > Motorola Droid Ultra
>> >
>> > So, looks like there needs to use your absolute path. Try to use
>> >
>> > > sudo kioclient download kdeconnect://    # with your path here.
>> >
>> > You'll see much more if type key after kioclient command:
>> > --commands
>> >
>> > Read more at:
>> > https://www.commandlinux.com/man-page/man1/kioclient.1.html#index
>> >
>> > Thanks, Alex
>> >
>> > 2018-08-21 22:14 GMT+03:00 Nerijus Baliunas <
>> nerijus at users.sourceforge.net>:
>> >
>> > > I tried:
>> > > $ kioclient ls kdeconnect://Elephone
>> > > kioclient(7978): couldn't create slave: "Unable to create io-slave:
>> > > klauncher said: Unknown protocol 'kdeconnect'.
>> > >
>> > > On Tue, 21 Aug 2018 18:52:36 +0200 Nicolas Fella <feeenico at gmail.com>
>> > > wrote:
>> > >
>> > > > KDE Connect offers a KIO slave (kdeconnect://) for file operations.
>> You
>> > > > should be able to use it from the command line using kioclient
>> > > >
>> > > > On Tue, Aug 21, 2018, 18:22 Nerijus Baliunas <
>> > > nerijus at users.sourceforge.net>
>> > > > wrote:
>> > > >
>> > > > > Hello,
>> > > > >
>> > > > > I would like to automate getting photos from phone to PC. Is it
>> > > possible
>> > > > > to use kdeconnect from scripts? I can browse phone filesystem in
>> > > Dolphin
>> > > > > and move photos manually, but I would like to automate it.
>> > > > >
>> > > > > Regards,
>> > > > > Nerijus
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20180904/edfe6423/attachment.html>


More information about the KDEConnect mailing list