Browse device through kdeconnect-cli?

Albert Vaca albertvaka at gmail.com
Tue May 23 20:13:57 UTC 2017


To mount the remote filesystem:

qdbus org.kde.kdeconnect /modules/kdeconnect/devices/6bca974095cdb95/sftp
mountAndWait

To see the path where it was mounted:

qdbus org.kde.kdeconnect /modules/kdeconnect/devices/6bca974095cdb95/sftp
mountPoint

Change the ids for your own.

Albert

On Tue, May 23, 2017 at 11:46 AM, Aleix Pol <aleixpol at kde.org> wrote:

> On Mon, May 22, 2017 at 5:43 AM, Will S <wsha.code at gmail.com> wrote:
> > Is it possible to mount the device's file system with sshfs using just
> > kdeconnect-cli? I thought it might be possible using a command but when
> I do
> > --list-commands, i get "No such object path
> > '/modules/kdeconnect/devices/device_id/remotecommands'". Maybe I don't
> > understand what remote commands are for.
> >
> > My goal is just to be able to mount the device file system, so I can run
> a
> > backup script on it. Does anyone know a way to do this? I was thinking I
> > could probably do this by interacting with kdeconnectd through dbus, but
> I
> > have learn how to use dbus first.
>
> Hi,
> No, I don't think we do have an option in kdeconnect-cli to u/mount
> the device's file system. It could be interesting though and it
> shouldn't be hard to add.
>
> RemoteCommands are something very different (see the remote commands
> plugin). You should be looking at the sftp plugin.
>
> Aleix
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20170523/6ff911a1/attachment.html>


More information about the KDEConnect mailing list