kdeconnect-cli

KDE Connect CLI.

TLDR

List all devices

$ kdeconnect-cli --list-devices
copy

List available (paired and reachable) devices

$ kdeconnect-cli --list-available
copy

Request pairing with a specific device, specifying its ID

$ kdeconnect-cli --pair --device [device_id]
copy

Ring a device, specifying its name

$ kdeconnect-cli --ring --name [device_name]
copy

Share an URL or file with a paired device, specifying its ID

$ kdeconnect-cli --share [URL|path/to/file] --device [device_id]
copy

Send an SMS with an optional attachment to a specific number

$ kdeconnect-cli --name [device_name] --send-sms [message] --destination [phone_number] --attachment [path/to/file]
copy

Unlock a specific device

$ kdeconnect-cli --name [device_name] --unlock
copy

Simulate a key press on a specific device

$ kdeconnect-cli --name [device_name] --send-keys [key]
copy

Copied to clipboard
Earn up to $40 for learning about crypto currencies